Author: janderwald
Date: Fri Dec 25 02:21:29 2009
New Revision: 44756
URL:
http://svn.reactos.org/svn/reactos?rev=44756&view=rev
Log:
[MMIXER]
- Store correct mixer handle in the mixer info
- mmixer can now handle set / get volume and on-off (mute) requests
Modified:
trunk/reactos/lib/drivers/sound/mmixer/controls.c
Modified: trunk/reactos/lib/drivers/sound/mmixer/controls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmixer/c…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmixer/controls.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmixer/controls.c [iso-8859-1] Fri Dec 25 02:21:29
2009
@@ -691,6 +691,9 @@
OutConnection->SymbolicLinkName[1] = L'\\';
MixerData = MMixerGetDataByDeviceName(MixerList,
OutConnection->SymbolicLinkName);
ASSERT(MixerData);
+
+ // store connected mixer handle
+ MixerInfo->hMixer = MixerData->hDevice;
// get connected filter pin count
PinsRefCount = MMixerGetFilterPinCount(MixerContext, MixerData->hDevice);