[vlc-commits] vlc_codecs: add WAVEFORMATEXTENSIBLE_IEC61937

Thomas Guillem git at videolan.org
Wed Sep 14 15:32:04 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 14 14:34:45 2016 +0200| [da77ec84d4a8cdb0a3c2af3518b7ec75b6c782a6] | committer: Thomas Guillem

vlc_codecs: add WAVEFORMATEXTENSIBLE_IEC61937

This will be used by wasapi for EAC3, MLP, TRUEHD...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da77ec84d4a8cdb0a3c2af3518b7ec75b6c782a6
---

 include/vlc_codecs.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h
index cdac8b6..270da78 100644
--- a/include/vlc_codecs.h
+++ b/include/vlc_codecs.h
@@ -90,6 +90,18 @@ _WAVEFORMATEXTENSIBLE {
 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
 #endif /* _WAVEFORMATEXTENSIBLE_ */
 
+#ifndef _WAVEFORMATEXTENSIBLE_IEC61937_
+#define _WAVEFORMATEXTENSIBLE_IEC61937_
+typedef struct
+ATTR_PACKED
+_WAVEFORMATEXTENSIBLE_IEC61937 {
+    WAVEFORMATEXTENSIBLE    FormatExt;
+    uint32_t                dwEncodedSamplesPerSec;
+    uint32_t                dwEncodedChannelCount;
+    uint32_t                dwAverageBytesPerSec;
+} WAVEFORMATEXTENSIBLE_IEC61937, *PWAVEFORMATEXTENSIBLE_IEC61937;
+#endif /* _WAVEFORMATEXTENSIBLE_IEC61937_ */
+
 #ifndef _WAVEHEADER_
 #define _WAVEHEADER_
 typedef struct



More information about the vlc-commits mailing list