mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 05:11:26 +00:00
- add debug code for handling bug 6663
svn path=/trunk/; revision=54562
This commit is contained in:
parent
9bcecdfc3c
commit
38734d95d1
1 changed files with 10 additions and 1 deletions
|
@ -468,6 +468,15 @@ MMixerCountMixerControls(
|
||||||
/* get next nodes */
|
/* get next nodes */
|
||||||
MMixerGetNextNodesFromPinIndex(MixerContext, Topology, PinId, bUpStream, &NodesCount, Nodes);
|
MMixerGetNextNodesFromPinIndex(MixerContext, Topology, PinId, bUpStream, &NodesCount, Nodes);
|
||||||
|
|
||||||
|
if (NodesCount > 1)
|
||||||
|
{
|
||||||
|
/* FIXME: the pin is connected by several nodes */
|
||||||
|
DPRINT1("Topology split detected at Pin %lu bUpStream %lu NodesCount %lu", PinId, bUpStream, NodesCount);
|
||||||
|
for(NodeIndex = 0; NodeIndex < NodesCount; NodeIndex++)
|
||||||
|
DPRINT1("Pin Connected from Node %lu", Nodes[NodeIndex]);
|
||||||
|
return MM_STATUS_UNSUCCESSFUL;
|
||||||
|
}
|
||||||
|
|
||||||
/* assume no topology split before getting line terminator */
|
/* assume no topology split before getting line terminator */
|
||||||
ASSERT(NodesCount == 1);
|
ASSERT(NodesCount == 1);
|
||||||
|
|
||||||
|
@ -1168,7 +1177,7 @@ MMixerAddMixerControlsToDestinationLine(
|
||||||
if (Status != MM_STATUS_SUCCESS)
|
if (Status != MM_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
/* out of memory */
|
/* out of memory */
|
||||||
return MM_STATUS_NO_MEMORY;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get all destination line controls */
|
/* get all destination line controls */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue