bitsPerSample property

int get bitsPerSample

The number of bits per sample for this WavFormat.

Implementation

int get bitsPerSample => [8, 16, 24, 32, 32, 64][index];