AudioRingBuffer.activate

bool activate(bool active)

Activate buf to start or stop pulling data.

MT safe.

Parameters

activethe new mode

Returns

TRUE if the device could be activated in the requested mode,

FALSE on error.