winecoreaudio: Specialize wodHelper_BeginWaveHdr for its two callers and simplify.
commitbe4a17876de6637c073a96a77e7a8f80f25242fd
authorKen Thomases <ken@codeweavers.com>
Thu, 21 Dec 2006 09:48:38 +0000 (21 03:48 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 21 Dec 2006 10:43:21 +0000 (21 11:43 +0100)
treeee7dfd52f9adab8b22c91e6fc2a8ba683f4ef569
parent551f7d94a3a0855774c65b7b4b62cf5ca25d6352
winecoreaudio: Specialize wodHelper_BeginWaveHdr for its two callers and simplify.

wodHelper_PlayPtrNext is only called when state == WINE_WS_PLAYING.  Also, it
clears dwPartialOffset itself.

wodWrite only calls wodHelper_BeginWaveHdr[Write] with a non-NULL lpWaveHdr
parameter.  wodWrite is not called from the Audio Unit render callback, so it
can use Wine debug channels.
dlls/winmm/winecoreaudio/audio.c