Module: wine Branch: master Commit: 4bd87b9d7e025ade2d7e8b07d514dd71a0d449f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4bd87b9d7e025ade2d7e8b07d5...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Apr 21 22:47:56 2010 +0200
wineesd.drv: Add the missing calls to ESD_WaveClose/ESD_WaveInit.
---
dlls/wineesd.drv/audio.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/wineesd.drv/audio.c b/dlls/wineesd.drv/audio.c index 3d4225a..9f7ff00 100644 --- a/dlls/wineesd.drv/audio.c +++ b/dlls/wineesd.drv/audio.c @@ -1561,7 +1561,9 @@ DWORD WINAPI ESD_wodMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
switch (wMsg) { case DRVM_INIT: + return ESD_WaveInit(); case DRVM_EXIT: + return ESD_WaveClose(); case DRVM_ENABLE: case DRVM_DISABLE: /* FIXME: Pretend this is supported */ @@ -2073,7 +2075,9 @@ DWORD WINAPI ESD_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser, wDevID, wMsg, dwUser, dwParam1, dwParam2); switch (wMsg) { case DRVM_INIT: + return ESD_WaveInit(); case DRVM_EXIT: + return ESD_WaveClose(); case DRVM_ENABLE: case DRVM_DISABLE: /* FIXME: Pretend this is supported */