Configuration parameters of audio capture interface. More...
#include <rmfAudioCapture.h>
Data Fields | |
| RMF_AudioCaptureBufferReadyCb | cbBufferReady |
| Callback to send audio data to caller. Must be set in Open call. | |
| void * | cbBufferReadyParm |
| Caller context data passed back in buffer-ready callback; can be NULL. | |
| RMF_AudioCapture_StatusChangeCb | cbStatusChange |
| If cbStatusChange is not NULL, then the underlying implementation should invoke this callback when there is a change of state in the audio capture interface. Examples: OnStart of AC, Change from Start to Stop of AC. On underflow/overflow. | |
| void * | cbStatusParm |
| Caller context data passed back in status change callback. | |
| size_t | fifoSize |
| FIFO size in bytes. This value is a total FIFO size to hold all channels of data. If not set, a default size will be used. Needs to be big enough to avoid overflow (expected service time * byte rate) | |
| size_t | threshold |
| FIFO data callback threshold in bytes. When the amount of data in the FIFO reaches this level, the buffer-ready will be invoked. | |
| racFormat | format |
| Format of captured data. Default is racFormat_e16BitStereThis value is ignored for compressed data, and can not be changed while connected to any inputs. | |
| racFreq | samplingFreq |
| Sampling rate of captured audio. Not currently supported. TBD. | |
| unsigned int | delayCompensation_ms |
| Delay compensation in milli seconds. This parameter is used to maintain AV sync when using latency-prone audio outputs like Bluetooth. It's the number of ms to delay video by in order to stay in sync with Bluetooth audio. | |
Configuration parameters of audio capture interface.
| RMF_AudioCaptureBufferReadyCb cbBufferReady |
Callback to send audio data to caller. Must be set in Open call.
| void* cbBufferReadyParm |
Caller context data passed back in buffer-ready callback; can be NULL.
| RMF_AudioCapture_StatusChangeCb cbStatusChange |
If cbStatusChange is not NULL, then the underlying implementation should invoke this callback when there is a change of state in the audio capture interface. Examples: OnStart of AC, Change from Start to Stop of AC. On underflow/overflow.
| void* cbStatusParm |
Caller context data passed back in status change callback.
| unsigned int delayCompensation_ms |
Delay compensation in milli seconds. This parameter is used to maintain AV sync when using latency-prone audio outputs like Bluetooth. It's the number of ms to delay video by in order to stay in sync with Bluetooth audio.
| size_t fifoSize |
FIFO size in bytes. This value is a total FIFO size to hold all channels of data. If not set, a default size will be used. Needs to be big enough to avoid overflow (expected service time * byte rate)
| racFormat format |
Format of captured data. Default is racFormat_e16BitStereThis value is ignored for compressed data, and can not be changed while connected to any inputs.
| racFreq samplingFreq |
Sampling rate of captured audio. Not currently supported. TBD.
| size_t threshold |
FIFO data callback threshold in bytes. When the amount of data in the FIFO reaches this level, the buffer-ready will be invoked.