Re: [pulseaudio-discuss] [PATCH 2/2] PulseAudio: negotiate digital pass-through for A/52 and DTS

2011-10-03 Thread Arun Raghavan
On Mon, 2011-10-03 at 21:57 +0300, Rémi Denis-Courmont wrote: > Le lundi 3 octobre 2011 21:50:52 Pierre-Louis Bossart, vous avez écrit : > > > +#if PA_CHECK_VERSION(1,0,0) > > > +case VLC_CODEC_A52: > > > +format = VLC_CODEC_SPDIFL; > > > +encoding = PA_ENCODING_AC3_

Re: [pulseaudio-discuss] [PATCH 2/2] PulseAudio: negotiate digital pass-through for A/52 and DTS

2011-10-03 Thread Rémi Denis-Courmont
Le lundi 3 octobre 2011 21:50:52 Pierre-Louis Bossart, vous avez écrit : > > +#if PA_CHECK_VERSION(1,0,0) > > +case VLC_CODEC_A52: > > +format = VLC_CODEC_SPDIFL; > > +encoding = PA_ENCODING_AC3_IEC61937; > > +ss.format = HAVE_FPU ? PA_SAMPLE_FLOAT32NE :

Re: [pulseaudio-discuss] [PATCH 2/2] PulseAudio: negotiate digital pass-through for A/52 and DTS

2011-10-03 Thread Pierre-Louis Bossart
> +#if PA_CHECK_VERSION(1,0,0) > +case VLC_CODEC_A52: > +format = VLC_CODEC_SPDIFL; > +encoding = PA_ENCODING_AC3_IEC61937; > +ss.format = HAVE_FPU ? PA_SAMPLE_FLOAT32NE : > PA_SAMPLE_S16NE; > +break; This test doesn't seem right. Probably a

[pulseaudio-discuss] [PATCH 2/2] PulseAudio: negotiate digital pass-through for A/52 and DTS

2011-10-03 Thread Rémi Denis-Courmont
--- modules/audio_output/pulse.c | 72 +- 1 files changed, 71 insertions(+), 1 deletions(-) diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c index fc7cdb8..cf2ed09 100644 --- a/modules/audio_output/pulse.c +++ b/modules/audio_outpu