aboutsummaryrefslogtreecommitdiff
path: root/src/audio_format.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-15 09:23:36 +0100
committerMax Kellermann <max@duempel.org>2010-01-16 23:44:54 +0100
commit1abfcc56af7de73c2088d7971f744778b5842ed8 (patch)
treecee3e0021348270f86402b9cb7b016e4b820827d /src/audio_format.c
parentda47afe7d1aa6b59bf04764d0bd7d0b91dfac94b (diff)
audio_format: support packed 24 bit samples
Diffstat (limited to 'src/audio_format.c')
-rw-r--r--src/audio_format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_format.c b/src/audio_format.c
index cdb0f25b..13403fbc 100644
--- a/src/audio_format.c
+++ b/src/audio_format.c
@@ -41,6 +41,9 @@ sample_format_to_string(enum sample_format format)
case SAMPLE_FORMAT_S16:
return "16";
+ case SAMPLE_FORMAT_S24:
+ return "24_3";
+
case SAMPLE_FORMAT_S24_P32:
return "24";