Use SoundBuffer for memory sounds

This commit is contained in:
bloeys
2022-06-25 20:13:13 +04:00
parent 6c166db5ef
commit 2e3fb46bcb
4 changed files with 176 additions and 62 deletions

View File

@ -84,7 +84,8 @@ func TestSound(t *testing.T) {
}
s.PlaySync()
//Test repeat playing
s.Player.Reset()
s.Bytes.Seek(0, io.SeekStart)
s.Data.Seek(0, io.SeekStart)
s.PlaySync()
}