aboutsummaryrefslogtreecommitdiff
path: root/src/audio_format.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-10 14:03:33 +0200
committerMax Kellermann <max@duempel.org>2008-10-10 14:03:33 +0200
commit6101dc6c768b09dbcdc1840a84b619a5a6a20129 (patch)
treeaf2369299cff4af045fe8717584a29b6234aac51 /src/audio_format.h
parent817a033f5591fefb842e355ef211d09e855661ef (diff)
audio_format: unsigned integers
"bits" and "channels" cannot be negative.
Diffstat (limited to 'src/audio_format.h')
-rw-r--r--src/audio_format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_format.h b/src/audio_format.h
index 794ebaaf..dd9b3cae 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)