openalsrc
This element captures raw audio samples through OpenAL.
Example pipelines
gst-launch-1.0 -v openalsrc ! audioconvert ! wavenc ! filesink location=stream.wav
- will capture sound through OpenAL and encode it to a wav file.
gst-launch-1.0 openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink
will capture and play audio through OpenAL.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSrc ╰──GstPushSrc ╰──GstAudioBaseSrc ╰──GstAudioSrc ╰──openalsrc
Factory details
Authors: – Juan Manuel Borges Caño
Classification: – Source/Audio
Rank – secondary
Plugin – gstopenal
Package – GStreamer Bad Plug-ins
Pad Templates
src
audio/x-raw:
format: S16LE
rate: [ 1, 2147483647 ]
channels: 1
audio/x-raw:
format: U8
rate: [ 1, 2147483647 ]
channels: 1
Properties
actual-buffer-time
“actual-buffer-time” gint64
Actual configured size of audio buffer in microseconds
Flags : Read
Default value : 18446744073709551615
actual-latency-time
“actual-latency-time” gint64
Actual configured audio latency in microseconds
Flags : Read
Default value : 18446744073709551615
blocksize
“blocksize” guint
Size in bytes to read per buffer (-1 = default)
Flags : Read / Write
Default value : 0
buffer-time
“buffer-time” gint64
Size of audio buffer in microseconds. This is the maximum amount of data that is buffered in the device and the maximum latency that the source reports. This value might be ignored by the element if necessary; see "actual-buffer-time"
Flags : Read / Write
Default value : 200000
device
“device” gchararray
User device, default device if NULL
Flags : Read / Write
Default value : NULL
device-name
“device-name” gchararray
Human-readable name of the device
Flags : Read
Default value : NULL
do-timestamp
“do-timestamp” gboolean
Apply current stream time to buffers
Flags : Read / Write
Default value : false
latency-time
“latency-time” gint64
The minimum amount of data to read in each iteration in microseconds. This is the minimum latency that the source reports. This value might be ignored by the element if necessary; see "actual-latency-time"
Flags : Read / Write
Default value : 10000
num-buffers
“num-buffers” gint
Number of buffers to output before sending EOS (-1 = unlimited)
Flags : Read / Write
Default value : -1
provide-clock
“provide-clock” gboolean
Provide a clock to be used as the global pipeline clock
Flags : Read / Write
Default value : true
slave-method
“slave-method” GstAudioBaseSrcSlaveMethod *
Algorithm used to match the rate of the masterclock
Flags : Read / Write
Default value : skew (2)
typefind
“typefind” gboolean
Run typefind before negotiating (deprecated, non-functional)
Flags : Read / Write
Default value : false
The results of the search are