summaryrefslogtreecommitdiff
path: root/src/internal/audio/kitaudio.c
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-06-27 23:17:47 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-06-27 23:17:47 +0300
commitf0d0aa50910ba9536f40e8a635bb4f70de84a76f (patch)
tree3f58c51353a165d79d4d0ee9b5f2c6f64e87678a /src/internal/audio/kitaudio.c
parentc7fc4f2ca9a0d750f32a9f6cf7c86cd2ac548d0f (diff)
Add documentation and api cleanups
Diffstat (limited to 'src/internal/audio/kitaudio.c')
-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;
}
}