[alsa-devel] [PATCH - alsa-plugins/pulse 1/1] Add 24 bit data formats to Pulse plugin.

alex.d.wiggins at gmail.com alex.d.wiggins at gmail.com
Tue May 12 02:09:34 CEST 2015


From: Alex Wiggins <alex.d.wiggins at gmail.com>

Signed-off-by: Alex Wiggins <alex.d.wiggins at gmail.com>

diff --git a/pulse/pcm_pulse.c b/pulse/pcm_pulse.c
index 0d3704b..5cb3452 100644
--- a/pulse/pcm_pulse.c
+++ b/pulse/pcm_pulse.c
@@ -994,7 +994,11 @@ static int pulse_hw_constraint(snd_pcm_pulse_t * pcm)
 		SND_PCM_FORMAT_FLOAT_LE,
 		SND_PCM_FORMAT_FLOAT_BE,
 		SND_PCM_FORMAT_S32_LE,
-		SND_PCM_FORMAT_S32_BE
+		SND_PCM_FORMAT_S32_BE,
+		SND_PCM_FORMAT_S24_3LE,
+		SND_PCM_FORMAT_S24_3BE,
+		SND_PCM_FORMAT_S24_LE,
+		SND_PCM_FORMAT_S24_BE
 	};
 
 	int err;
-- 
2.3.6



More information about the Alsa-devel mailing list