winwave: follow the rules when closing the output device
commit2a117d401d7f227c5f466834d24c11a2e7cffc00
authormalc <av1474@comtv.ru>
Wed, 14 Oct 2009 22:11:25 +0000 (15 02:11 +0400)
committermalc <av1474@comtv.ru>
Wed, 14 Oct 2009 22:11:25 +0000 (15 02:11 +0400)
tree5d9ce50a55e6b97097e4e8096fd244d8701ea7af
parenta91b857c383b1945d33413d37764693a87661409
winwave: follow the rules when closing the output device

a. call waveOutReset to drain the queue
b. unprepare headers before freeing underlying memory

Signed-off-by: malc <av1474@comtv.ru>
audio/winwaveaudio.c