[-,alsa-plugins/pulse,1/1] Add 24 bit data formats to Pulse plugin.
diff mbox

Message ID 555144d4.e7bbb40a.3e71.0f8d@mx.google.com
State New
Headers show

Commit Message

alex.d.wiggins@gmail.com May 12, 2015, 12:09 a.m. UTC
From: Alex Wiggins <alex.d.wiggins@gmail.com>

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

Comments

Takashi Iwai May 18, 2015, 9:08 a.m. UTC | #1
At Tue, 12 May 2015 01:09:34 +0100,
alex.d.wiggins@gmail.com wrote:
> 
> From: Alex Wiggins <alex.d.wiggins@gmail.com>
> 
> Signed-off-by: Alex Wiggins <alex.d.wiggins@gmail.com>

Applied, thanks.


Takashi

> 
> 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
>

Patch
diff mbox

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;