audio_format: unsigned integers

"bits" and "channels" cannot be negative.
This commit is contained in:
Max Kellermann
2008-10-10 14:03:33 +02:00
parent 817a033f55
commit 6101dc6c76
6 changed files with 15 additions and 15 deletions

View File

@@ -24,8 +24,8 @@
struct audio_format {
uint32_t sampleRate;
int8_t bits;
int8_t channels;
uint8_t bits;
uint8_t channels;
};
static inline void audio_format_clear(struct audio_format *af)