Revision 2ed05f65

View differences:

libavdevice/alsa-audio-common.c
36 36
static av_cold snd_pcm_format_t codec_id_to_pcm_format(int codec_id)
37 37
{
38 38
    switch(codec_id) {
39
        case CODEC_ID_PCM_F32LE: return SND_PCM_FORMAT_FLOAT_LE;
40
        case CODEC_ID_PCM_F32BE: return SND_PCM_FORMAT_FLOAT_BE;
39 41
        case CODEC_ID_PCM_S32LE: return SND_PCM_FORMAT_S32_LE;
40 42
        case CODEC_ID_PCM_S32BE: return SND_PCM_FORMAT_S32_BE;
41 43
        case CODEC_ID_PCM_S16LE: return SND_PCM_FORMAT_S16_LE;

Also available in: Unified diff