[ros-diffs] [spetreolle] 41641: Add MIXERCONTROL_CONTROLTYPE_BASS_BOOST and KSDATAFORMAT_SUBTYPE_IEEE_FLOAT

spetreolle at svn.reactos.org spetreolle at svn.reactos.org
Sun Jun 28 10:32:15 CEST 2009


Author: spetreolle
Date: Sat Jun 27 18:41:56 2009
New Revision: 41641

URL: http://svn.reactos.org/svn/reactos?rev=41641&view=rev
Log:
Add MIXERCONTROL_CONTROLTYPE_BASS_BOOST and KSDATAFORMAT_SUBTYPE_IEEE_FLOAT

Modified:
    trunk/reactos/include/psdk/ksmedia.h
    trunk/reactos/include/psdk/mmsystem.h
    trunk/reactos/lib/sdk/dxguid/dxguid-mingw.c

Modified: trunk/reactos/include/psdk/ksmedia.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ksmedia.h?rev=41641&r1=41640&r2=41641&view=diff
==============================================================================
--- trunk/reactos/include/psdk/ksmedia.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ksmedia.h [iso-8859-1] Sat Jun 27 18:41:56 2009
@@ -396,10 +396,14 @@
 #define KSDATAFORMAT_SUBTYPE_MIDI DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_MIDI)
 
 #define STATIC_KSDATAFORMAT_SUBTYPE_PCM\
-	0x00000001L, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
+    0x00000001L, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
 DEFINE_GUIDSTRUCT("00000001-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_PCM);
 #define KSDATAFORMAT_SUBTYPE_PCM DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_PCM)
 
+#define STATIC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT\
+    0x00000003L, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
+DEFINE_GUIDSTRUCT("00000003-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_IEEE_FLOAT);
+#define KSDATAFORMAT_SUBTYPE_IEEE_FLOAT DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT)
 
 #define STATIC_KSDATAFORMAT_SPECIFIER_WAVEFORMATEX\
     0x05589f81L, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a

Modified: trunk/reactos/include/psdk/mmsystem.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/mmsystem.h?rev=41641&r1=41640&r2=41641&view=diff
==============================================================================
--- trunk/reactos/include/psdk/mmsystem.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/mmsystem.h [iso-8859-1] Sat Jun 27 18:41:56 2009
@@ -368,6 +368,7 @@
 #define MIXERCONTROL_CONTROLTYPE_MONO          (MIXERCONTROL_CONTROLTYPE_BOOLEAN+3)
 #define MIXERCONTROL_CONTROLTYPE_LOUDNESS      (MIXERCONTROL_CONTROLTYPE_BOOLEAN+4)
 #define MIXERCONTROL_CONTROLTYPE_STEREOENH     (MIXERCONTROL_CONTROLTYPE_BOOLEAN+5)
+#define MIXERCONTROL_CONTROLTYPE_BASS_BOOST    (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 0x00002277)
 #define MIXERCONTROL_CONTROLTYPE_BUTTON        (MIXERCONTROL_CT_CLASS_SWITCH|MIXERCONTROL_CT_SC_SWITCH_BUTTON|MIXERCONTROL_CT_UNITS_BOOLEAN)
 #define MIXERCONTROL_CONTROLTYPE_DECIBELS      (MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_DECIBELS)
 #define MIXERCONTROL_CONTROLTYPE_SIGNED        (MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_SIGNED)

Modified: trunk/reactos/lib/sdk/dxguid/dxguid-mingw.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/dxguid/dxguid-mingw.c?rev=41641&r1=41640&r2=41641&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/dxguid/dxguid-mingw.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/dxguid/dxguid-mingw.c [iso-8859-1] Sat Jun 27 18:41:56 2009
@@ -66,6 +66,7 @@
 DEFINE_GUID(IID_IDirectMusicSynthSink,0x09823663,0x5c85,0x11d2,0xaf,0xa6,0x00,0xaa,0x00,0x24,0xd8,0xb6);
 DEFINE_GUID(IID_IKsFastClock,0xc9902485,0xc180,0x11d2,0x84,0x73,0xd4,0x23,0x94,0x45,0x9e,0x5e);
 DEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
+DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
 
 /* Match ms dxsdk 2004 dec these guids exist in dxguid, tested by Magnus Olsen */
 DEFINE_GUID(CLSID_DirectMusicAudioPathConfig,       0xEE0B9CA0, 0xA81E, 0x11D3, 0x9B, 0xD1, 0x00, 0x80, 0xC7, 0x15, 0x0A, 0x74);



More information about the Ros-diffs mailing list