This function doesn't start playing the music (call play() to do so).
The supported audio formats are: WAV (PCM only), OGG/Vorbis, FLAC. The
supported sample sizes for FLAC and WAV are 8, 16, 24 and 32 bit.
Since the music is not loaded completely but rather streamed
continuously, the data must remain available as long as the music is
playing (ie. you can't deallocate it right after calling this function).
Open a music from an audio file in memory.
This function doesn't start playing the music (call play() to do so).
The supported audio formats are: WAV (PCM only), OGG/Vorbis, FLAC. The supported sample sizes for FLAC and WAV are 8, 16, 24 and 32 bit.
Since the music is not loaded completely but rather streamed continuously, the data must remain available as long as the music is playing (ie. you can't deallocate it right after calling this function).