Commit 062e7e57 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use VLC_CODEC_S24(B|L)32

parent dc9fa2ed
......@@ -257,8 +257,8 @@ static const vlc_fourcc_t formats[] = {
[SND_PCM_FORMAT_S16_BE] = VLC_CODEC_S16B,
[SND_PCM_FORMAT_U16_LE] = VLC_CODEC_U16L,
[SND_PCM_FORMAT_U16_BE] = VLC_CODEC_U16B,
//[SND_PCM_FORMAT_S24_LE] = VLC_CODEC_?,
//[SND_PCM_FORMAT_S24_BE] = VLC_CODEC_?,
[SND_PCM_FORMAT_S24_LE] = VLC_CODEC_S24L32,
[SND_PCM_FORMAT_S24_BE] = VLC_CODEC_S24B32,
[SND_PCM_FORMAT_U24_LE] = VLC_CODEC_U32L, // TODO: replay gain
[SND_PCM_FORMAT_U24_BE] = VLC_CODEC_U32B, // ^
[SND_PCM_FORMAT_S32_LE] = VLC_CODEC_S32L,
......
......@@ -248,8 +248,8 @@ static const vlc_fourcc_t fourccs[] = {
[PA_SAMPLE_S32BE] = VLC_CODEC_S32B,
[PA_SAMPLE_S24LE] = VLC_CODEC_S24L,
[PA_SAMPLE_S24BE] = VLC_CODEC_S24B,
[PA_SAMPLE_S24_32LE] = 0,
[PA_SAMPLE_S24_32BE] = 0,
[PA_SAMPLE_S24_32LE] = VLC_CODEC_S24L32,
[PA_SAMPLE_S24_32BE] = VLC_CODEC_S24B32,
};
static int Open(vlc_object_t *obj)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment