-
I'd like to use the high level API, but i need to play using data in memory, not on the disk, so i can't use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yep, this is possible. A ma_decoder decoder;
ma_decoder_init_memory(..., &decoder);
...
ma_sound_init_from_data_source(pEngine, &decoder, ...); Only problem is you'll need to maintain a separate |
Beta Was this translation helpful? Give feedback.
Yep, this is possible. A
ma_decoder
is a data source, so you can just plug it straight intoma_sound_init_from_data_source()
.Only problem is you'll need to maintain a separate
ma_decoder
object along with yourma_sound
object.