Fix WaveIn shutdown for real
commit0ef3a30b84759c3a1e9046fe790b02f845cbdedb
authorChris Robinson <chris.kcat@gmail.com>
Fri, 20 Jan 2012 20:36:23 +0000 (20 12:36 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 20 Jan 2012 20:36:23 +0000 (20 12:36 -0800)
treee6471c7cd8166c3763814febd2175a3524a10cee
parentb375897374efa8a80d3324519ce1cda8de0c8044
Fix WaveIn shutdown for real

The processing thread must be messaged when shutting down, and depending on the
state of the device, waveInReset may not do it. Additionally, all buffers must
be removed from the device before they can be unprepared and the device closed.
Alc/backends/winmm.c