![]() |
![]() |
![]() |
GStreamer Good Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GObject +----GstObject +----GstElement +----GstBaseSink +----GstBaseAudioSink +----GstPulseSink
GstPulseSink implements GstStreamVolume, GstImplementsInterface and GstPropertyProbe.
"device" gchar* : Read / Write "server" gchar* : Read / Write "device-name" gchar* : Read "volume" gdouble : Read / Write "mute" gboolean : Read / Write "client" gchar* : Read / Write "stream-properties" GstStructure* : Read / Write
"device"
property "device" gchar* : Read / Write
The PulseAudio sink device to connect to.
Default value: NULL
"server"
property "server" gchar* : Read / Write
The PulseAudio server to connect to.
Default value: NULL
"device-name"
property "device-name" gchar* : Read
Human-readable name of the sound device.
Default value: NULL
"volume"
property "volume" gdouble : Read / Write
Linear volume of this stream, 1.0=100%.
Allowed values: [0,10]
Default value: 1
"client"
property "client" gchar* : Read / Write
The PulseAudio client name to use.
Default value: "<unknown>"
Since 0.10.25
"stream-properties"
property "stream-properties" GstStructure* : Read / Write
List of pulseaudio stream properties. A list of defined properties can be found in the pulseaudio api docs.
Below is an example for registering as a music application to pulseaudio.
GstStructure *props; props = gst_structure_from_string ("props,media.role=music", NULL); g_object_set (pulse, "stream-properties", props, NULL); gst_structure_free
Since 0.10.26