osssrc

osssrc — Capture from a sound card via OSS

Synopsis

                    GstOssSrc;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSrc
                     +----GstPushSrc
                           +----GstBaseAudioSrc
                                 +----GstAudioSrc
                                       +----GstOssSrc

Implemented Interfaces

GstOssSrc implements GstImplementsInterface and GstMixer.

Properties

  "device"                   gchar*                : Read / Write
  "device-name"              gchar*                : Read

Description

This element lets you record sound using the Open Sound System (OSS).

Example pipelines

gst-launch -v osssrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=mymusic.ogg
will record sound from your sound card using OSS and encode it to an Ogg/Vorbis file (this will only work if your mixer settings are right and the right inputs enabled etc.)

Details

GstOssSrc

typedef struct _GstOssSrc GstOssSrc;

Property Details

The "device" property

  "device"                   gchar*                : Read / Write

OSS device (usually /dev/dspN).

Default value: "/dev/dsp"


The "device-name" property

  "device-name"              gchar*                : Read

Human-readable name of the sound device.

Default value: ""