Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Accessing the sample data from an audio stream

Registered User
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?

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.

Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "Interna?ional" (you are not logged in)




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact