Home » Questions » create stream from queue
i have queue, wich is defined as
[code:1pcv2ooj]std::queue< signed short > streamQueue;[/code:1pcv2ooj]
in there i save data decoded with speex.
how can i now play stream with the data from that queue?
To get your 16-bit PCM data into FMOD you can create a sound with the FMOD_OPENUSER flag and use a PCMREADCALLBACK to copy data from the queue into that sound.
Please login first to submit.
Copyright 2016 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.