Revision 0ae2a036

View differences:

libavdevice/alsa-audio-common.c
42 42
        case CODEC_ID_PCM_F32BE: return SND_PCM_FORMAT_FLOAT_BE;
43 43
        case CODEC_ID_PCM_S32LE: return SND_PCM_FORMAT_S32_LE;
44 44
        case CODEC_ID_PCM_S32BE: return SND_PCM_FORMAT_S32_BE;
45
        case CODEC_ID_PCM_U32LE: return SND_PCM_FORMAT_U32_LE;
46
        case CODEC_ID_PCM_U32BE: return SND_PCM_FORMAT_U32_BE;
45 47
        case CODEC_ID_PCM_S24LE: return SND_PCM_FORMAT_S24_3LE;
46 48
        case CODEC_ID_PCM_S24BE: return SND_PCM_FORMAT_S24_3BE;
49
        case CODEC_ID_PCM_U24LE: return SND_PCM_FORMAT_U24_3LE;
50
        case CODEC_ID_PCM_U24BE: return SND_PCM_FORMAT_U24_3BE;
47 51
        case CODEC_ID_PCM_S16LE: return SND_PCM_FORMAT_S16_LE;
48 52
        case CODEC_ID_PCM_S16BE: return SND_PCM_FORMAT_S16_BE;
53
        case CODEC_ID_PCM_U16LE: return SND_PCM_FORMAT_U16_LE;
54
        case CODEC_ID_PCM_U16BE: return SND_PCM_FORMAT_U16_BE;
49 55
        case CODEC_ID_PCM_S8:    return SND_PCM_FORMAT_S8;
56
        case CODEC_ID_PCM_U8:    return SND_PCM_FORMAT_U8;
50 57
        case CODEC_ID_PCM_MULAW: return SND_PCM_FORMAT_MU_LAW;
51 58
        case CODEC_ID_PCM_ALAW:  return SND_PCM_FORMAT_A_LAW;
52 59
        default:                 return SND_PCM_FORMAT_UNKNOWN;

Also available in: Unified diff