mirror of
https://github.com/chenasraf/castroulette-receiver.git
synced 2026-05-17 17:58:05 +00:00
Sounds
This commit is contained in:
@@ -22,6 +22,9 @@ class StateDefinition
|
||||
|
||||
onMessage: (message) ->
|
||||
@handler.resetState()
|
||||
@_stopAudio()
|
||||
|
||||
_stopAudio: ->
|
||||
@soundFile.pause()
|
||||
@soundFile.currentTime = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user