tests: Expand sound
Check Sound.duration and Sound.getDuration() for detached sounds. Check rounding behavior of Sound.duration and Sound.getDuration() behind a comment because NullAudioBackend doesn't respect durations. TODO: Uncomment it once NullAudioBackend returns real durations.
This commit is contained in:
parent
e3478248ac
commit
6a34070e76
|
@ -6,6 +6,9 @@ left-to-right: 0
|
|||
right-to-left: 0
|
||||
right-to-right: 100
|
||||
|
||||
sound.duration: undefined
|
||||
sound.getDuration(): undefined
|
||||
|
||||
Sound.setVolume(50.5)
|
||||
volume: 50
|
||||
pan: 0
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue