mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
dsound: Call waveInUnPrepareHeader and waveInPrepareHeader when submitting new buffer.
This commit is contained in:
parent
3bafbb22b8
commit
847d5565fc
@ -439,6 +439,8 @@ DSOUND_capture_callback(
|
||||
capture_CheckNotify(Moi, 0, 0);
|
||||
} else {
|
||||
if (This->state == STATE_CAPTURING) {
|
||||
waveInUnprepareHeader(hwi, &(This->pwave[index]), sizeof(WAVEHDR));
|
||||
waveInPrepareHeader(hwi, &(This->pwave[index]), sizeof(WAVEHDR));
|
||||
waveInAddBuffer(hwi, &(This->pwave[index]), sizeof(WAVEHDR));
|
||||
} else if (This->state == STATE_STOPPING) {
|
||||
TRACE("stopping\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user