Is there a way to play a mp3 that is contained in a byte array?
If I write it on the hard drive, I can play it easily with
mciSendString
but what if I don't want to write it on the drive and leave it in memory?
Thanks
Krushstone
Printable View
Is there a way to play a mp3 that is contained in a byte array?
If I write it on the hard drive, I can play it easily with
mciSendString
but what if I don't want to write it on the drive and leave it in memory?
Thanks
Krushstone
Why not just have it stored in the byte array, then create a *.tmp file to play it, then delete the *.tmp file when the application closes.
Because I want to know if there is a way to do it without writing it first. :)
Anyway, if I write it, the function that will play it will need to read it, and then I delete the file...
I'd like to avoid all these hard drive I/O if possible.
Is it possible?
thanks for your suggestions
Krushstone