pulsesrc

pulsesrc — Capture audio from a PulseAudio sound server

Synopsis

                    GstPulseSrc;

Object Hierarchy

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

Implemented Interfaces

GstPulseSrc implements GstPropertyProbe, GstImplementsInterface and GstMixer.

Properties

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

Description

Example pipelines

This element captures audio from a PulseAudio sound server.

gst-launch -v pulsesrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg

Record from a sound card using ALSA and encode to Ogg/Vorbis.

Synopsis

Element Information

plugin

pulseaudio

author

Lennart Poettering

class

Source/Audio

Element Pads

name

src

direction

source

presence

always

details

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

audio/x-raw-float, endianness=(int){ 1234, 4321 }, width=(int)32, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

audio/x-raw-int, signed=(boolean)false, width=(int)8, depth=(int)8, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 16 ]

Details

GstPulseSrc

typedef struct _GstPulseSrc GstPulseSrc;

Property Details

The "device" property

  "device"                   gchar*                : Read / Write

The PulseAudio source device to connect to.

Default value: NULL


The "server" property

  "server"                   gchar*                : Read / Write

The PulseAudio server to connect to.

Default value: NULL


The "device-name" property

  "device-name"              gchar*                : Read

Human-readable name of the sound device.

Default value: NULL

See Also

pulsesink, pulsemixer