[MPlayer-dev-eng] [PATCH] AC3/DTS passthrough for Mac OS X

Nicolas Plourde nicolas.plourde at gmail.com
Sat Oct 13 14:15:14 CEST 2007


On 11-Oct-07, at 12:00 AM, Ulion wrote:

>
>
> That's great! Thank you.
>
> And a little bug in my last posted patch, here's the fix:
>
> Index: libao2/ao_macosx.c
> ===================================================================
> --- libao2/ao_macosx.c  (revision 24762)
> +++ libao2/ao_macosx.c  (working copy)
> @@ -712,7 +712,7 @@
>  #else
>      if (ao->stream_format.mFormatFlags & kAudioFormatFlagIsBigEndian)
>  #endif
> -        ao_msg(MSGT_AO, MSGL_WARN, "output stream has a no-native
> byte-order, digital output may failed.\n", (char *)&err);
> +        ao_msg(MSGT_AO, MSGL_WARN, "output stream has a no-native
> byte-order, digital output may failed.\n");
>
>      /* For ac3/dts, just use packet size 6144 bytes as chunk size. */
>      ao->chunk_size = ao->stream_format.mBytesPerPacket;
>
>
> -- 
> Ulion
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


applied.

====
Nicolas Plourde <nicolas.plourde at gmail.com>





More information about the MPlayer-dev-eng mailing list