mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-12 10:25:32 +02:00
Support CODEC_ID_PCM_S24* output via alsa (stereo only).
This commit is contained in:
parent
4e54848bd1
commit
5778466e92
@ -40,6 +40,8 @@ static av_cold snd_pcm_format_t codec_id_to_pcm_format(int codec_id)
|
||||
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_S24LE: return SND_PCM_FORMAT_S24_3LE;
|
||||
case CODEC_ID_PCM_S24BE: return SND_PCM_FORMAT_S24_3BE;
|
||||
case CODEC_ID_PCM_S16LE: return SND_PCM_FORMAT_S16_LE;
|
||||
case CODEC_ID_PCM_S16BE: return SND_PCM_FORMAT_S16_BE;
|
||||
case CODEC_ID_PCM_S8: return SND_PCM_FORMAT_S8;
|
||||
|
Loading…
Reference in New Issue
Block a user