1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Add support for pcm_f32* to alsa.

This commit is contained in:
Carl Eugen Hoyos 2011-04-05 16:12:41 +02:00
parent 71a2da30cd
commit 2ed05f657f

View File

@ -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_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;
case CODEC_ID_PCM_S32BE: return SND_PCM_FORMAT_S32_BE;
case CODEC_ID_PCM_S16LE: return SND_PCM_FORMAT_S16_LE;