diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-01 16:51:25 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-01 16:51:25 +0000 |
commit | 71247a97b35fd6ffe93883f883530f4569ee9bcb (patch) | |
tree | f709cb6bf6f3495e80683d0d3d914b0f750f9a83 /libao2 | |
parent | e1e2527cd4a91488079a05a86f50433c89e5ce87 (diff) |
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
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_pulse.c | 2 |
1 files changed, 2 insertions, 0 deletions
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}, |