[MMIXER]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 25 Dec 2009 01:21:29 +0000 (01:21 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 25 Dec 2009 01:21:29 +0000 (01:21 +0000)
- Store correct mixer handle in the mixer info
- mmixer can now handle set / get volume and on-off (mute) requests

svn path=/trunk/; revision=44756

reactos/lib/drivers/sound/mmixer/controls.c

index b879da4..09477ed 100644 (file)
@@ -692,6 +692,9 @@ MMixerHandlePhysicalConnection(
     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);
     ASSERT(PinsRefCount);