[vlc-commits] [Git][videolan/vlc][master] vlc_codecs: add missing Opus and alac waveformats
Hugo Beauzée-Luyssen
gitlab at videolan.org
Thu Jun 3 12:31:17 UTC 2021
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
4f7eeafa by Francois Cartegnie at 2021-06-03T10:03:46+00:00
vlc_codecs: add missing Opus and alac waveformats
>= Win10
refs #25794
- - - - -
1 changed file:
- include/vlc_codecs.h
Changes:
=====================================
include/vlc_codecs.h
=====================================
@@ -237,10 +237,12 @@ ATTR_PACKED
#define WAVE_FORMAT_AAC_ADTS 0x1600 /* AAC/ADTS */
#define WAVE_FORMAT_AAC_2 0x1601 /* Other AAC */
#define WAVE_FORMAT_AAC_LATM 0x1602 /* AAC/LATM */
-#define WAVE_FORMAT_HEAAC 0x1610
+#define WAVE_FORMAT_HEAAC 0x1610 /* Raw AAC or ADTS */
#define WAVE_FORMAT_A52 0x2000 /* a52 */
#define WAVE_FORMAT_DTSINC_DTS 0x2001 /* DTS */
+#define WAVE_FORMAT_ALAC 0x6c61
+#define WAVE_FORMAT_OPUS 0x704f
#define WAVE_FORMAT_AVCODEC_AAC 0x706D
#define WAVE_FORMAT_DIVIO_AAC 0x4143 /* Divio's AAC */
@@ -367,6 +369,8 @@ wave_format_tag_to_fourcc[] =
{ WAVE_FORMAT_AAC_3, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AAC_LATM, VLC_CODEC_MP4A, "MPEG-4 LATM Audio" },
{ WAVE_FORMAT_HEAAC, VLC_CODEC_MP4A, "MPEG-4 Audio" },
+ { WAVE_FORMAT_ALAC, VLC_CODEC_ALAC, "Apple Lossless" },
+ { WAVE_FORMAT_OPUS, VLC_CODEC_OPUS, "Opus Audio" },
{ WAVE_FORMAT_AVCODEC_AAC, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AAC_MS, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_VORBIS, VLC_CODEC_VORBIS, "Vorbis Audio" },
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4f7eeafa6561170d838ad23be350aa59e061e592
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4f7eeafa6561170d838ad23be350aa59e061e592
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list