Commit bfdb4690 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Store channels counter to a single byte. We can only handle 32 of them anyway

parent 3f035aad
...@@ -73,9 +73,9 @@ struct audio_format_t ...@@ -73,9 +73,9 @@ struct audio_format_t
*/ */
/* FIXME ? (used by the codecs) */ /* FIXME ? (used by the codecs) */
int i_channels; unsigned i_bitspersample;
int i_blockalign; unsigned i_blockalign;
int i_bitspersample; uint8_t i_channels; /* must be <32 */
}; };
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment