GstAudioSrcClass

#GstAudioSrc class. Override the vmethod to implement functionality.

Members

Variables

GstReserved
void*[4] GstReserved;
close
bool function(GstAudioSrc* src) close;

close the device

delay
uint function(GstAudioSrc* src) delay;

the number of frames queued in the device

open
bool function(GstAudioSrc* src) open;

open the device with the specified caps

parentClass
GstAudioBaseSrcClass parentClass;

the parent class.

prepare
bool function(GstAudioSrc* src, GstAudioRingBufferSpec* spec) prepare;

configure device with format

read
uint function(GstAudioSrc* src, void* data, uint length, GstClockTime* timestamp) read;

read samples from the audio device

reset
void function(GstAudioSrc* src) reset;

unblock a read to the device and reset.

unprepare
bool function(GstAudioSrc* src) unprepare;

undo the configuration