pulsesrc

pulsesrc — Captures audio from a PulseAudio server

Properties

gchar * device Read / Write
gchar * server Read / Write
gchar * device-name Read
GstStructure * stream-properties Read / Write
gchar * client Read / Write
gboolean mute Read / Write
guint source-output-index Read
gdouble volume Read / Write

Types and Values

struct GstPulseSrc

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseSrc
                ╰── GstPushSrc
                    ╰── GstBaseAudioSrc
                        ╰── GstAudioSrc
                            ╰── GstPulseSrc

Implemented Interfaces

GstPulseSrc implements GstStreamVolume, GstImplementsInterface, GstMixer and GstPropertyProbe.

Description

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, 32 ]

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

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

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

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

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

Functions

Types and Values

struct GstPulseSrc

struct GstPulseSrc;

Property Details

The “device” property

  “device”                   gchar *

The PulseAudio source device to connect to.

Flags: Read / Write

Default value: NULL


The “server” property

  “server”                   gchar *

The PulseAudio server to connect to.

Flags: Read / Write

Default value: NULL


The “device-name” property

  “device-name”              gchar *

Human-readable name of the sound device.

Flags: Read

Default value: NULL


The “stream-properties” property

  “stream-properties”        GstStructure *

list of pulseaudio stream properties.

Flags: Read / Write


The “client” property

  “client”                   gchar *

The PulseAudio client_name_to_use.

Flags: Read / Write

Default value: "lt-gst-plugins-good-plugins-scan"


The “mute” property

  “mute”                     gboolean

Mute state of this stream.

Flags: Read / Write

Default value: FALSE


The “source-output-index” property

  “source-output-index”      guint

The index of the PulseAudio source output corresponding to this record stream.

Flags: Read

Default value: 4294967295


The “volume” property

  “volume”                   gdouble

Linear volume of this stream, 1.0=100%.

Flags: Read / Write

Allowed values: [0,10]

Default value: 1