Returns channel configuration from the number of channels.
Returns number of channels from a channel configuration.
Returns the number of bytes for a single audio sample.