# pulsesrc The pulsesrc plugin interacts with the underlying PulseAudio sound server to capture the pulse-coded modulation (PCM) samples. The PulseAudio server interacts with the underlying hardware to provide the capture capability and is based on the [GstAudioSrc](https://gstreamer.freedesktop.org/documentation/audio/gstaudiosrc.html#GstAudioSrc) base class. ## Inheritance chain [GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → [GstBaseSrc](https://gstreamer.freedesktop.org/documentation/base/gstbasesrc.html#GstBaseSrc) → [GstPushSrc](https://gstreamer.freedesktop.org/documentation/base/gstpushsrc.html#GstPushSrc) → [GstAudioBaseSrc](https://gstreamer.freedesktop.org/documentation/audio/gstaudiobasesrc.html#GstAudioBaseSrc) → [GstAudioSrc](https://gstreamer.freedesktop.org/documentation/audio/gstaudiosrc.html#GstAudioSrc) → GstPulseSrc The following tables provide information on pad templates and element properties of pulsesrc. For use cases, see Audio (only) capture. ## Pad configuration | Pad Name | Capabilities | Capabilities | Capabilities | | --- | --- | --- | --- | |
SRC template: 'src'



>
>
> | audio/x-raw | format: | { (string)S16LE, (string)S16BE, (string)F32LE, (string)F32BE, (string)S32LE, (string)S32BE, (string)S24LE, (string)S24BE, (string)S24\_32LE, (string)S24\_32BE, (string)U8 } | |
SRC template: 'src'



>
>
> | audio/x-raw | layout: | interleaved | |
SRC template: 'src'



>
>
> | audio/x-raw | rate: | [ 1, 22579200 ] | |
SRC template: 'src'



>
>
> | audio/x-raw | channels: | [ 1, 32 ] | |
SRC template: 'src'



>
>
> | audio/x-alaw | rate: | [ 1, 22579200 ] | |
SRC template: 'src'



>
>
> | audio/x-alaw | channels: | [ 1, 32 ] | |
SRC template: 'src'



>
>
> | audio/x-mulaw | rate: | [ 1, 22579200 ] | |
SRC template: 'src'



>
>
> | audio/x-mulaw | channels: | [ 1, 32 ] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Element configuration Table : Element properties of pulsesrc | Property | Description | | --- | --- | | name | - The name of the object.
- | | parent | - The parent of the object.
- | | blocksize | - Size in bytes to read per buffer (-1 = default).
- | | num-buffers | - Number of buffers to output before sending EOS (-1 = unlimited).
- | | typefind | - Run type find before negotiating (deprecated, non-functional).
- | | do-timestamp | - Apply current stream time to buffers.
- | | buffer-time | - Size of audio buffer in microseconds. This size is the maximum amount of data that's buffered in the device and the maximum latency that the source reports. The pulsesrc plugin can ignore this value.
- | | latency-time | - The minimum amount of data to read in each iteration is in microseconds. This is the minimum latency that the source reports. The plugin can ignore this value.
- | | actual-buffer-time | - Actual configured size of audio buffer in microseconds.
- | | actual-latency-time | - Actual configured audio latency in microseconds.
- | | provide-clock | - Provide a clock to be used as the global pipeline clock.
- | | slave-method | - Algorithm used to match the rate of the primary clock.
- | | server | - The PulseAudio server for the connection.
- | | device | - The PulseAudio source device for connection.
- | | current-device | - The current PulseAudio source device.
- | | device-name | - Human-readable name of the sound device.
- | | volume | - Linear volume of this stream, 1.0=100%.
- | | mute | - Mute state of this stream.
- | | client-name | - The PulseAudio client\_name\_to\_use.
- | | stream-properties | - A list of PulseAudio stream properties.
- | | source-output-index | - The index of the PulseAudio source output corresponding to this record stream.
- | | stream-flags | - Stream flags (not all default flags can be overridden).
- | Last Published: Mar 26, 2026 [Previous Topic Configure audio plugins](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/audio-plugins.md) [Next Topic pulsesink](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/pulsesink.md) Source: [https://docs.qualcomm.com/doc/80-80021-50/topic/pulsesrc.html](https://docs.qualcomm.com/doc/80-80021-50/topic/pulsesrc.html)