[vlc-commits] Fix support float in RF64
Jean-Baptiste Kempf
git at videolan.org
Fri Sep 20 22:28:30 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 20 22:26:44 2013 +0200| [1b034fc6481e53d95071ed35eab6fb040fb9f4cb] | committer: Jean-Baptiste Kempf
Fix support float in RF64
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b034fc6481e53d95071ed35eab6fb040fb9f4cb
---
include/vlc_codecs.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h
index 96c3969..2c8d47e 100644
--- a/include/vlc_codecs.h
+++ b/include/vlc_codecs.h
@@ -309,6 +309,13 @@ static const GUID VLC_KSDATAFORMAT_SUBTYPE_PCM = {0xE923AABF, 0xCB58, 0x4471, {0
#define KSDATAFORMAT_SUBTYPE_PCM VLC_KSDATAFORMAT_SUBTYPE_PCM
#endif
+#ifndef _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_
+#define _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_ {0x00000003, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
+static const GUID VLC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = {0x00000003, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
+#define KSDATAFORMAT_SUBTYPE_IEEE_FLOAT VLC_KSDATAFORMAT_SUBTYPE_PCM
+#endif
+
+
#ifndef _KSDATAFORMAT_SUBTYPE_UNKNOWN_
#define _KSDATAFORMAT_SUBTYPE_UNKNOWN_ {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}
static const GUID VLC_KSDATAFORMAT_SUBTYPE_UNKNOWN = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
@@ -441,6 +448,7 @@ static const struct
sub_format_tag_to_fourcc[] =
{
{ _KSDATAFORMAT_SUBTYPE_PCM_, VLC_FOURCC( 'a', 'r', 'a', 'w' ), "PCM" },
+ { _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT_, VLC_FOURCC( 'a', 'f', 'l', 't' ), "Float PCM" },
{ _KSDATAFORMAT_SUBTYPE_UNKNOWN_, VLC_FOURCC( 'u', 'n', 'd', 'f' ), "Unknown" }
};
More information about the vlc-commits
mailing list