diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 311d0abd..6947e6e4 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -408,11 +408,5 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo) Source->position = DataPosInt; Source->position_fraction = DataPosFrac; src->Direct.Offset += OutPos; - if(State == AL_PLAYING) - src->Direct.Counter = maxu(src->Direct.Counter, OutPos) - OutPos; - else - { - src->Direct.Counter = 0; - src->Direct.Moving = AL_FALSE; - } + src->Direct.Counter = maxu(src->Direct.Counter, OutPos) - OutPos; } |