onAlignedAudioAuxData property

void Function(Uint8List data, int dataLength, int sampleRate, int channel)? onAlignedAudioAuxData
getter/setter pair

Aligned audio aux frames callback.

Available: Since 1.0.0 Description: In this callback, you can receive the audio aux frames which aligned with accompany. Developers can record locally. /// Aligned audio aux frames callback. Caution: This callback is a high-frequency callback, please do not perform time-consuming operations in this callback, and the data in this callback cannot be modified. @param byteArray Audio data in PCM format. @param dataLength Length of the data. @param sampleRate Parameters of the audio sampleRate. @param channel Parameters of the audio channel.

Implementation

static void Function(
        Uint8List data, int dataLength, int sampleRate, int channel)?
    onAlignedAudioAuxData;