Commit cf5bfc44 authored by Chris Morgan's avatar Chris Morgan Committed by Alexandre Julliard

wodOpen() should return MMSYSERR_ALLOCATED if the device is already

allocated. Allow for multiple audio devices. Fix wodPlayer_reset as with aRts we cannot cancel audio data already written to the server. Rename some functions. Cleanup unused code.
parent ace56c62
......@@ -75,7 +75,7 @@ LONG CALLBACK ARTS_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
/* ARTS_MidiInit(); FIXME: no midi
support in artsc so we don't have any in the arts driver */
return 1;
case DRV_FREE: return ARTS_CloseDevice();
case DRV_FREE: return ARTS_WaveClose();
case DRV_OPEN: return ARTS_drvOpen((LPSTR)dwParam1);
case DRV_CLOSE: return ARTS_drvClose(dwDevID);
case DRV_ENABLE: return 1;
......
......@@ -29,6 +29,6 @@
#endif
extern LONG ARTS_WaveInit(void);
extern LONG ARTS_CloseDevice(void);
extern LONG ARTS_WaveClose(void);
#endif /* __WINE_ARTS_H */
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