 ders Registered User |
Quote
|
2015-03-23 15:41:05 |
|
I'm looking for a way to get the data from an audio stream. I know that there is getSampleData() for non-streamed ISoundSource objects but is there something similar for streamed sounds?
If not, can I make a custom class that implements something from irrKlang so I can make it myself?
|
 niko Moderator |
Quote
|
2015-03-23 19:58:46 |
|
You can force the stream to be loaded into memory instead of being streamed, if you set the mode to ESM_NO_STREAMING, and call setForcedStreamingThreshold(-1) before playing. But note that if you have for example a long mp3, it might not fit into memory, if you are unlucky.
|