Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Doubt in ISoundEngine initialization

Koushtav
Guest
Quote
2014-01-24 14:53:57

Hello

I was wondering if there's a way to check if the file being tried to played by the play2D funtion of ISoundEngine object is illegal or not. And if it is illegal, then is their a way for play2D to fail?

Thanks


niko
Moderator
Quote
2014-01-24 18:15:17

There is no specific error code for this, but if you ask irrKlang to return an ISound pointer with the play2D call, and it doesn't return a pointer, then something didn't work. The reason there is no specific way to ask why it didn't work is that irrKlang is supposed to be used in games, with sound files you usually have full control of.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (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