summaryrefslogtreecommitdiff
path: root/src/internal/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/audio')
-rw-r--r--src/internal/audio/kitaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/audio/kitaudio.c b/src/internal/audio/kitaudio.c
index ec4fc13..8cf2d3e 100644
--- a/src/internal/audio/kitaudio.c
+++ b/src/internal/audio/kitaudio.c
@@ -88,13 +88,13 @@ int _FindSDLSampleFormat(enum AVSampleFormat fmt) {
}
}
-bool _FindSignedness(enum AVSampleFormat fmt) {
+int _FindSignedness(enum AVSampleFormat fmt) {
switch(fmt) {
case AV_SAMPLE_FMT_U8P:
case AV_SAMPLE_FMT_U8:
- return false;
+ return 0;
default:
- return true;
+ return 1;
}
}