Mercurial > mplayer.hg
comparison libao2/ao_pulse.c @ 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 | 07d106323e5c |
comparison
equal
deleted
inserted
replaced
26602:d48e2d7191df | 26603:c07abb5a5bef |
---|---|
114 int mp_format; | 114 int mp_format; |
115 pa_sample_format_t pa_format; | 115 pa_sample_format_t pa_format; |
116 } format_maps[] = { | 116 } format_maps[] = { |
117 {AF_FORMAT_S16_LE, PA_SAMPLE_S16LE}, | 117 {AF_FORMAT_S16_LE, PA_SAMPLE_S16LE}, |
118 {AF_FORMAT_S16_BE, PA_SAMPLE_S16BE}, | 118 {AF_FORMAT_S16_BE, PA_SAMPLE_S16BE}, |
119 {AF_FORMAT_S32_LE, PA_SAMPLE_S32LE}, | |
120 {AF_FORMAT_S32_BE, PA_SAMPLE_S32BE}, | |
119 {AF_FORMAT_FLOAT_LE, PA_SAMPLE_FLOAT32LE}, | 121 {AF_FORMAT_FLOAT_LE, PA_SAMPLE_FLOAT32LE}, |
120 {AF_FORMAT_FLOAT_BE, PA_SAMPLE_FLOAT32BE}, | 122 {AF_FORMAT_FLOAT_BE, PA_SAMPLE_FLOAT32BE}, |
121 {AF_FORMAT_U8, PA_SAMPLE_U8}, | 123 {AF_FORMAT_U8, PA_SAMPLE_U8}, |
122 {AF_FORMAT_MU_LAW, PA_SAMPLE_ULAW}, | 124 {AF_FORMAT_MU_LAW, PA_SAMPLE_ULAW}, |
123 {AF_FORMAT_A_LAW, PA_SAMPLE_ALAW}, | 125 {AF_FORMAT_A_LAW, PA_SAMPLE_ALAW}, |