From 71247a97b35fd6ffe93883f883530f4569ee9bcb Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 1 May 2008 16:51:25 +0000 Subject: Add support for 32 bit format to ao_pulse. Based on patch by James Warden [warjamy yahoo com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26635 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_pulse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libao2/ao_pulse.c') diff --git a/libao2/ao_pulse.c b/libao2/ao_pulse.c index ddf4cabf63..5140a5e5c5 100644 --- a/libao2/ao_pulse.c +++ b/libao2/ao_pulse.c @@ -116,6 +116,8 @@ static const struct format_map_s { } 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}, -- cgit v1.2.3