changeset 26603:c07abb5a5bef

Add support for 32 bit format to ao_pulse. Based on patch by James Warden [warjamy yahoo com]
author reimar
date Thu, 01 May 2008 16:51:25 +0000
parents d48e2d7191df
children 9946e4a6e457
files libao2/ao_pulse.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_pulse.c	Thu May 01 16:47:54 2008 +0000
+++ b/libao2/ao_pulse.c	Thu May 01 16:51:25 2008 +0000
@@ -116,6 +116,8 @@
 } format_maps[] = {
     {AF_FORMAT_S16_LE, PA_SAMPLE_S16LE},
     {AF_FORMAT_S16_BE, PA_SAMPLE_S16BE},
+    {AF_FORMAT_S32_LE, PA_SAMPLE_S32LE},
+    {AF_FORMAT_S32_BE, PA_SAMPLE_S32BE},
     {AF_FORMAT_FLOAT_LE, PA_SAMPLE_FLOAT32LE},
     {AF_FORMAT_FLOAT_BE, PA_SAMPLE_FLOAT32BE},
     {AF_FORMAT_U8, PA_SAMPLE_U8},