directsoundsrc

Reads audio data using the DirectSound API.

Example pipelines

 gst-launch-1.0 -v directsoundsrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=dsound.ogg

Record from DirectSound and encode to Ogg/Vorbis.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──GstAudioBaseSrc
                            ╰──GstAudioSrc
                                ╰──directsoundsrc

Implemented interfaces

Factory details

Authors: – Joni Valtanen

Classification:Source/Audio

Rank – secondary

Plugin – directsoundsrc

Package – GStreamer Bad Plug-ins

Pad Templates

src

audio/x-raw:
         format: { S16LE, S8 }
         layout: interleaved
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

device

“device” gchararray

DirectSound playback device as a GUID string (volume and mute will not work!)

Flags : Read / Write

Default value : NULL


device-name

“device-name” gchararray

Human-readable name of the sound device

Flags : Read / Write

Default value : NULL


mute

“mute” gboolean

Mute state of this stream

Flags : Read / Write

Default value : false


volume

“volume” gdouble

Volume of this stream

Flags : Read / Write

Default value : 1


The results of the search are