From a43ae2369b353c98a8f0d2574d2f84310f04701d Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Thu, 23 Jun 2016 16:17:56 +0100 Subject: [PATCH] output/sndio: Add 24-bit 4-byte packed audio format support --- src/output/plugins/SndioOutputPlugin.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/plugins/SndioOutputPlugin.cxx b/src/output/plugins/SndioOutputPlugin.cxx index d5741ea1d..6d4090d9d 100644 --- a/src/output/plugins/SndioOutputPlugin.cxx +++ b/src/output/plugins/SndioOutputPlugin.cxx @@ -119,6 +119,9 @@ SndioOutput::Open(AudioFormat &audio_format, gcc_unused Error &error) case SampleFormat::S16: bits = 16; break; + case SampleFormat::S24_P32: + bits = 24; + break; case SampleFormat::S32: bits = 32; break;