Add (ugly) support for fractional volumes
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ tryPlay sd s = do
|
||||
Mix.halt i
|
||||
Mix.playOn i timesToPlay (sd IM.! _getSoundID (_soundChunkID s))
|
||||
return $ s
|
||||
& soundChannel ?~ i
|
||||
& soundChannel ?~ i
|
||||
& soundStatus . playStatus .~ JustStartedPlaying
|
||||
where
|
||||
timesToPlay | _isLooping (_soundStatus s) = Mix.Forever
|
||||
|
||||
Reference in New Issue
Block a user