[MPlayer-cvslog] r25125 - trunk/libao2/ao_pcm.c

ulion subversion at mplayerhq.hu
Wed Nov 21 09:55:41 CET 2007


Author: ulion
Date: Wed Nov 21 09:55:41 2007
New Revision: 25125

Log:
Support dump AF_FORMAT_AC3 format.


Modified:
   trunk/libao2/ao_pcm.c

Modified: trunk/libao2/ao_pcm.c
==============================================================================
--- trunk/libao2/ao_pcm.c	(original)
+++ trunk/libao2/ao_pcm.c	Wed Nov 21 09:55:41 2007
@@ -94,6 +94,9 @@ static int init(int rate,int channels,in
 	    format=AF_FORMAT_U8;
 	case AF_FORMAT_U8:
 	    break;
+	case AF_FORMAT_AC3:
+	    bits=16;
+	    break;
 	default:
 	    format=AF_FORMAT_S16_LE;
 	    bits=16;



More information about the MPlayer-cvslog mailing list