channels property

int channels
final

Channel count — 1 for mono, 2 for stereo, 6 for 5.1, etc. Combine with samples.length to compute samplesPerChannel.

Implementation

final int channels;