Loading ogg audio, program crashes when the sound is played

Started by erobotan, January 26, 2018, 05:42:27

Previous topic - Next topic

erobotan

So i'm loading an ogg file with this code but everytime i play the sound it crashes. Another problem is that it only happen in small number of computers. The code works fine in most computers. Any idea for a fix?

Incbin "sounds\Pon.ogg"
sfxSelect = LoadSound( "incbin::sounds\Pon.ogg" )

PlaySound( sfxSelect )