Commit 67330f90 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/dsoundrender: Remove the no longer used "play_time" field.

This was used to implement IReferenceClock::GetTime(), which was reimplemented in 63a6b308. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0a50674c
......@@ -64,8 +64,6 @@ struct dsound_render
DWORD buf_size;
DWORD last_playpos, writepos;
REFERENCE_TIME play_time;
LONG volume;
LONG pan;
};
......@@ -122,10 +120,9 @@ static void DSoundRender_UpdatePositions(struct dsound_render *This, DWORD *seqw
old_writepos += This->buf_size;
IDirectSoundBuffer_GetCurrentPosition(This->dsbuffer, &playpos, &writepos);
if (old_playpos > playpos) {
if (old_playpos > playpos)
adv = This->buf_size + playpos - old_playpos;
This->play_time += time_from_pos(This, This->buf_size);
} else
else
adv = playpos - old_playpos;
This->last_playpos = playpos;
if (adv) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment