[FFmpeg-cvslog] Support CODEC_ID_PCM_S24* output via alsa (stereo only).
Carl Eugen Hoyos
git at videolan.org
Tue Apr 12 09:38:55 CEST 2011
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Apr 12 08:56:29 2011 +0200| [5778466e926e402bfd923b4f226413a921aa3c96] | committer: Carl Eugen Hoyos
Support CODEC_ID_PCM_S24* output via alsa (stereo only).
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5778466e926e402bfd923b4f226413a921aa3c96
---
libavdevice/alsa-audio-common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
index 46ac162..7ada466 100644
--- a/libavdevice/alsa-audio-common.c
+++ b/libavdevice/alsa-audio-common.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list