class AudioFormat(channels, sample_size, sample_rate)¶
Audio details.
An instance of this class is provided by sources with audio tracks. You
should not modify the fields, as they are used internally to describe the
format of data provided by the source.
Variables:
channels – The number of channels: 1 for mono or 2 for stereo (pyglet does
not yet support surround-sound sources).
sample_size – Bits per sample; only 8 or 16 are supported.