Commit 3d9b69f5 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

winmm: Avoid testing linecontrols if can't get line info.

parent efebe8b2
......@@ -436,7 +436,8 @@ static void mixer_test_deviceA(int device)
mmsys_error(rc));
if (rc==MMSYSERR_NODRIVER)
trace(" No Driver\n");
else if (rc==MMSYSERR_NOERROR && winetest_interactive) {
else if (rc==MMSYSERR_NOERROR) {
if (winetest_interactive) {
trace(" %d: \"%s\" (%s) Destination=%d Source=%d\n",
d,mixerlineA.szShortName, mixerlineA.szName,
mixerlineA.dwDestination,mixerlineA.dwSource);
......@@ -554,6 +555,7 @@ static void mixer_test_deviceA(int device)
}
}
}
}
rc=mixerClose(mix);
ok(rc==MMSYSERR_NOERROR,
"mixerClose: MMSYSERR_BADDEVICEID expected, got %s\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment