Ambiera Forum

Discussions, Help and Support.

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

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.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internat?onal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






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