Finch icon indicating copy to clipboard operation
Finch copied to clipboard

Stopping a paused sound doesn't

Open WarpRulez opened this issue 7 years ago • 0 comments

If you pause a sound that's playing, and then stop it, the library doesn't stop it, which means that if you then try to resume the sound, it will start playing again. The normal behavior ought to be that if you stop a sound, it doesn't start playing when you try to unpause (ie resume) it.

The problem lies in these lines in FISoundSource.m:

- (void) stop { if ([self isPlaying]) { alSourceStop(_handle); } }

The conditional should also check if the sound is currently paused.

WarpRulez avatar Aug 30 '17 10:08 WarpRulez