Add support for pcm_f32* to alsa.

oldabi
Carl Eugen Hoyos 14 years ago
parent 71a2da30cd
commit 2ed05f657f
  1. 2
      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_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;

Loading…
Cancel
Save