changeset 25097:7a6a7f47109f

Support dump AF_FORMAT_AC3 format.
author ulion
date Wed, 21 Nov 2007 08:55:41 +0000
parents 554985a6bbb2
children c38f1f42ee02
files libao2/ao_pcm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_pcm.c	Wed Nov 21 03:49:23 2007 +0000
+++ b/libao2/ao_pcm.c	Wed Nov 21 08:55:41 2007 +0000
@@ -94,6 +94,9 @@
 	    format=AF_FORMAT_U8;
 	case AF_FORMAT_U8:
 	    break;
+	case AF_FORMAT_AC3:
+	    bits=16;
+	    break;
 	default:
 	    format=AF_FORMAT_S16_LE;
 	    bits=16;