mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
e1e2527cd4
commit
71247a97b3
|
@ -116,6 +116,8 @@ static const struct format_map_s {
|
||||||
} format_maps[] = {
|
} format_maps[] = {
|
||||||
{AF_FORMAT_S16_LE, PA_SAMPLE_S16LE},
|
{AF_FORMAT_S16_LE, PA_SAMPLE_S16LE},
|
||||||
{AF_FORMAT_S16_BE, PA_SAMPLE_S16BE},
|
{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_LE, PA_SAMPLE_FLOAT32LE},
|
||||||
{AF_FORMAT_FLOAT_BE, PA_SAMPLE_FLOAT32BE},
|
{AF_FORMAT_FLOAT_BE, PA_SAMPLE_FLOAT32BE},
|
||||||
{AF_FORMAT_U8, PA_SAMPLE_U8},
|
{AF_FORMAT_U8, PA_SAMPLE_U8},
|
||||||
|
|
Loading…
Reference in New Issue