channels property

int channels

Number of channels, must be 1 for mono or 2 for stereo.

Implementation

int get channels => _encoder.channels;