# HG changeset patch # User reimar # Date 1209660685 0 # Node ID c07abb5a5beff03770b15cb6538cfe860a498c29 # Parent d48e2d7191df6e7fa6121840d9bf6d59d203201e Add support for 32 bit format to ao_pulse. Based on patch by James Warden [warjamy yahoo com] diff -r d48e2d7191df -r c07abb5a5bef libao2/ao_pulse.c --- 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},