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

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Oct 3 20:50:52 CEST 2011


> +#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 copy/paste mistake? The IEC data
need to be stored in 16-bit data no matter if your hardware has a FPU or
not.
-Pierre




More information about the vlc-devel mailing list