Revision 075a5560

View differences:

libavdevice/alsa-audio-common.c
47 47
        case CODEC_ID_PCM_S16LE: return SND_PCM_FORMAT_S16_LE;
48 48
        case CODEC_ID_PCM_S16BE: return SND_PCM_FORMAT_S16_BE;
49 49
        case CODEC_ID_PCM_S8:    return SND_PCM_FORMAT_S8;
50
        case CODEC_ID_PCM_MULAW: return SND_PCM_FORMAT_MU_LAW;
51
        case CODEC_ID_PCM_ALAW:  return SND_PCM_FORMAT_A_LAW;
50 52
        default:                 return SND_PCM_FORMAT_UNKNOWN;
51 53
    }
52 54
}

Also available in: Unified diff