Hi there,
Is there a way to play a wav which is stored in a byte array?
Hi there,
Is there a way to play a wav which is stored in a byte array?
You can use openal to play it: http://www.opentk.com/book/export/html/145
I’ve used naudio to play wav.(Windows only)
Thank you for the answers.
This has a quite obvious solution though, within the bounds of the monogame framework too:
SoundEffect soundEffect = new SoundEffect(byteArray, 44000, AudioChannels.Stereo);