Ken Thomases : winecoreaudio: Remove some unused structure fields.
Alexandre Julliard
julliard at winehq.org
Mon Oct 12 11:19:42 CDT 2009
Module: wine
Branch: master
Commit: b3ea0441c5ac1a571a9068cb4792b9a8a9068d86
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3ea0441c5ac1a571a9068cb4792b9a8a9068d86
Author: Ken Thomases <ken at codeweavers.com>
Date: Sun Oct 11 14:11:49 2009 -0500
winecoreaudio: Remove some unused structure fields.
---
dlls/winecoreaudio.drv/audio.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/winecoreaudio.drv/audio.c b/dlls/winecoreaudio.drv/audio.c
index 90e3baa..ad156ed 100644
--- a/dlls/winecoreaudio.drv/audio.c
+++ b/dlls/winecoreaudio.drv/audio.c
@@ -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 */
More information about the wine-cvs
mailing list