Commit 39a008ed authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Added test for WAVEFORMATEXTENSIBLE support.

Error message cleanup.
parent e24f873b
...@@ -229,9 +229,9 @@ void mixer_test_deviceA(int device) ...@@ -229,9 +229,9 @@ void mixer_test_deviceA(int device)
mixerlineA.dwDestination=capsA.cDestinations; mixerlineA.dwDestination=capsA.cDestinations;
rc=mixerGetLineInfoA((HMIXEROBJ)mix,&mixerlineA, rc=mixerGetLineInfoA((HMIXEROBJ)mix,&mixerlineA,
MIXER_GETLINEINFOF_DESTINATION); MIXER_GETLINEINFOF_DESTINATION);
ok(rc==MMSYSERR_INVALPARAM, ok(rc==MMSYSERR_INVALPARAM||rc==MIXERR_INVALLINE,
"mixerGetLineInfoA(MIXER_GETLINEINFOF_DESTINATION): " "mixerGetLineInfoA(MIXER_GETLINEINFOF_DESTINATION): "
"MMSYSERR_INVALPARAM expected, got %s\n", "MMSYSERR_INVALPARAM or MIXERR_INVALLINE expected, got %s\n",
mmsys_error(rc)); mmsys_error(rc));
mixerlineA.cbStruct = sizeof(mixerlineA); mixerlineA.cbStruct = sizeof(mixerlineA);
...@@ -431,9 +431,9 @@ void mixer_test_deviceW(int device) ...@@ -431,9 +431,9 @@ void mixer_test_deviceW(int device)
mixerlineW.dwDestination=capsW.cDestinations; mixerlineW.dwDestination=capsW.cDestinations;
rc=mixerGetLineInfoW((HMIXEROBJ)mix,&mixerlineW, rc=mixerGetLineInfoW((HMIXEROBJ)mix,&mixerlineW,
MIXER_GETLINEINFOF_DESTINATION); MIXER_GETLINEINFOF_DESTINATION);
ok(rc==MMSYSERR_INVALPARAM, ok(rc==MMSYSERR_INVALPARAM||rc==MIXERR_INVALLINE,
"mixerGetLineInfoW(MIXER_GETLINEINFOF_DESTINATION): " "mixerGetLineInfoW(MIXER_GETLINEINFOF_DESTINATION): "
"MMSYSERR_INVALPARAM expected, got %s\n", "MMSYSERR_INVALPARAM or MIXERR_INVALLINE expected, got %s\n",
mmsys_error(rc)); mmsys_error(rc));
mixerlineW.cbStruct = sizeof(mixerlineW); mixerlineW.cbStruct = sizeof(mixerlineW);
......
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