diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-12 09:11:56 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-12 09:11:56 +0200 |
commit | 71306c5d21d103eed361c880ce3ab26f1e53b8d8 (patch) | |
tree | 680070fa45d47ff5499cf530f6c7d38513a71dd4 /libavdevice/alsa-audio-common.c | |
parent | 5778466e926e402bfd923b4f226413a921aa3c96 (diff) | |
download | ffmpeg-71306c5d21d103eed361c880ce3ab26f1e53b8d8.tar.gz |
Support CODEC_ID_PCM_F64* output via alsa (stereo only).
Diffstat (limited to 'libavdevice/alsa-audio-common.c')
-rw-r--r-- | libavdevice/alsa-audio-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c index 7ada466833..eb75eb4ef6 100644 --- a/libavdevice/alsa-audio-common.c +++ b/libavdevice/alsa-audio-common.c @@ -36,6 +36,8 @@ static av_cold snd_pcm_format_t codec_id_to_pcm_format(int codec_id) { switch(codec_id) { + case CODEC_ID_PCM_F64LE: return SND_PCM_FORMAT_FLOAT64_LE; + case CODEC_ID_PCM_F64BE: return SND_PCM_FORMAT_FLOAT64_BE; case CODEC_ID_PCM_F32LE: return SND_PCM_FORMAT_FLOAT_LE; case CODEC_ID_PCM_F32BE: return SND_PCM_FORMAT_FLOAT_BE; case CODEC_ID_PCM_S32LE: return SND_PCM_FORMAT_S32_LE; |