MPLAB Harmony Bluetooth Help
|
Set the current sampling rate.
Function DRV_BM64_SamplingRateSet:
void DRV_BM64_SamplingRateSet(DRV_HANDLE handle, uint32_t samplingRate);
Set the current sampling rate (passed as a 32-bit integer).
DRV_BM64_Open must have been called to obtain a valid opened device handle.
Parameters |
Description |
handle |
valid handle to an opened BM64 device driver unique to client |
samplingRate |
sampling rate in Hz (8000, 16000, 44100 or 48000) |
None.
// set sample rate to 44.1 kHz // note generic version of call (DRV_BT instead of DRV_BM64) is used DRV_BT_SamplingRateSet(appData.bt.handle, 44100);
void DRV_BM64_SamplingRateSet( DRV_HANDLE handle, uint32_t samplingRate );
MPLAB Harmony Bluetooth Help
|