winecoreaudio: Remove some unused structure fields.

This commit is contained in:
Ken Thomases 2009-10-11 14:11:49 -05:00 committed by Alexandre Julliard
parent e690d7c83b
commit b3ea0441c5
1 changed files with 1 additions and 5 deletions

View File

@ -162,9 +162,6 @@ typedef struct {
DWORD dwLoops; /* private copy of loop counter */
DWORD dwPlayedTotal; /* number of bytes actually played since opening */
DWORD dwWrittenTotal; /* number of bytes written to OSS buffer since opening */
DWORD tickCountMS; /* time in MS of last AudioUnit callback */
OSSpinLock lock; /* synchronization stuff */
@ -940,7 +937,6 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
copyFormat(lpDesc->lpFormat, &wwo->format);
wwo->dwPlayedTotal = 0;
wwo->dwWrittenTotal = 0;
wwo->trace_on = TRACE_ON(wave);
wwo->warn_on = WARN_ON(wave);
@ -1372,7 +1368,7 @@ static DWORD wodReset(WORD wDevID)
lpSavedQueuePtr = wwo->lpQueuePtr;
wwo->lpPlayPtr = wwo->lpQueuePtr = wwo->lpLoopPtr = NULL;
wwo->state = WINE_WS_PLAYING;
wwo->dwPlayedTotal = wwo->dwWrittenTotal = 0;
wwo->dwPlayedTotal = 0;
wwo->dwPartialOffset = 0; /* Clear partial wavehdr */