winecoreaudio: Move a variable declaration to narrower scope, reduce whitespace.
This commit is contained in:
parent
de480f0b6e
commit
58e37cbebf
|
@ -1072,7 +1072,6 @@ static void wodHelper_NotifyDoneForList(WINE_WAVEOUT* wwo, LPWAVEHDR lpWaveHdr)
|
||||||
*/
|
*/
|
||||||
static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
|
static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
|
||||||
{
|
{
|
||||||
LPWAVEHDR lpWaveHdr;
|
|
||||||
LPWAVEHDR lpFirstDoneWaveHdr = NULL;
|
LPWAVEHDR lpFirstDoneWaveHdr = NULL;
|
||||||
|
|
||||||
OSSpinLockLock(&wwo->lock);
|
OSSpinLockLock(&wwo->lock);
|
||||||
|
@ -1086,6 +1085,7 @@ static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
LPWAVEHDR lpWaveHdr;
|
||||||
LPWAVEHDR lpLastDoneWaveHdr = NULL;
|
LPWAVEHDR lpLastDoneWaveHdr = NULL;
|
||||||
|
|
||||||
/* Start from lpQueuePtr and keep notifying until:
|
/* Start from lpQueuePtr and keep notifying until:
|
||||||
|
|
Loading…
Reference in New Issue