diff options
author | Max Kellermann <max@duempel.org> | 2008-10-10 14:03:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-10 14:03:33 +0200 |
commit | 6101dc6c768b09dbcdc1840a84b619a5a6a20129 (patch) | |
tree | af2369299cff4af045fe8717584a29b6234aac51 /src/audio_format.h | |
parent | 817a033f5591fefb842e355ef211d09e855661ef (diff) | |
download | mpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.tar.gz mpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.tar.xz mpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.zip |
audio_format: unsigned integers
"bits" and "channels" cannot be negative.
Diffstat (limited to '')
-rw-r--r-- | src/audio_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_format.h b/src/audio_format.h index 794ebaaff..dd9b3cae8 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -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) |