winealsa: Move MODM_GETNUMDEVS to the unixlib.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
647f227787
commit
3809b7a101
|
@ -826,6 +826,9 @@ NTSTATUS midi_out_message(void *args)
|
|||
case MODM_GETDEVCAPS:
|
||||
*params->err = midi_out_get_devcaps(params->dev_id, (MIDIOUTCAPSW *)params->param_1, params->param_2);
|
||||
break;
|
||||
case MODM_GETNUMDEVS:
|
||||
*params->err = num_dests;
|
||||
break;
|
||||
default:
|
||||
TRACE("Unsupported message\n");
|
||||
*params->err = MMSYSERR_NOTSUPPORTED;
|
||||
|
|
|
@ -732,8 +732,6 @@ DWORD WINAPI ALSA_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
|
|||
case DRVM_INIT:
|
||||
ALSA_MidiInit();
|
||||
return 0;
|
||||
case MODM_GETNUMDEVS:
|
||||
return MODM_NumDevs;
|
||||
case MODM_GETVOLUME:
|
||||
return modGetVolume(wDevID, (DWORD*)dwParam1);
|
||||
case MODM_SETVOLUME:
|
||||
|
|
Loading…
Reference in New Issue