mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- stop enumeration of mixer controls when there is more than one item
- fixes vmware audio driver hangs - needs more work - patch by David Quintana CORE-7488 #resolve #comment thanks for the patch svn path=/trunk/; revision=61017
This commit is contained in:
parent
fe4b6f1d93
commit
420e01f92d
|
@ -513,8 +513,12 @@ MMixerCountMixerControls(
|
||||||
/* get next nodes upstream */
|
/* get next nodes upstream */
|
||||||
MMixerGetNextNodesFromNodeIndex(MixerContext, Topology, NodeIndex, bUpStream, &NodesCount, Nodes);
|
MMixerGetNextNodesFromNodeIndex(MixerContext, Topology, NodeIndex, bUpStream, &NodesCount, Nodes);
|
||||||
|
|
||||||
/* assume there is a node connected */
|
if (NodesCount != 1)
|
||||||
ASSERT(NodesCount != 0);
|
{
|
||||||
|
DPRINT("PinId %lu bInputMixer %lu bUpStream %lu NodeIndex %lu is not connected", PinId, bInputMixer, bUpStream, NodeIndex);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
ASSERT(NodesCount == 1);
|
ASSERT(NodesCount == 1);
|
||||||
|
|
||||||
/* use first index */
|
/* use first index */
|
||||||
|
|
Loading…
Reference in a new issue