mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:33:04 +00:00
- debug code for bug 6663
svn path=/trunk/; revision=54571
This commit is contained in:
parent
75bfaddc5e
commit
8ee7ad7bcb
2 changed files with 11 additions and 5 deletions
|
@ -468,12 +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)
|
if (NodesCount == 0)
|
||||||
{
|
{
|
||||||
/* FIXME: the pin is connected by several nodes */
|
/* a pin which is not connected from any node
|
||||||
DPRINT1("Topology split detected at Pin %lu bUpStream %lu NodesCount %lu", PinId, bUpStream, NodesCount);
|
* a) it is a topology bug (driver bug)
|
||||||
for(NodeIndex = 0; NodeIndex < NodesCount; NodeIndex++)
|
* b) the request is from an alternative mixer
|
||||||
DPRINT1("Pin Connected from Node %lu", Nodes[NodeIndex]);
|
alternative mixer code scans all pins which have not been used and tries to build lines
|
||||||
|
*/
|
||||||
|
DPRINT1("MMixerCountMixerControls PinId %lu is not connected by any node\n", PinId);
|
||||||
|
MMixerPrintTopology(Topology);
|
||||||
return MM_STATUS_UNSUCCESSFUL;
|
return MM_STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -523,3 +523,6 @@ MMixerGetConnectedFromLogicalTopologyPins(
|
||||||
IN ULONG NodeIndex,
|
IN ULONG NodeIndex,
|
||||||
OUT PULONG OutPinCount,
|
OUT PULONG OutPinCount,
|
||||||
OUT PULONG OutPins);
|
OUT PULONG OutPins);
|
||||||
|
|
||||||
|
VOID
|
||||||
|
MMixerPrintTopology();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue