Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Does irrKlang return anything if the file is missing?

Phleb
Guest
Quote
2016-11-21 18:59:56

I haven't been able to find anything in the documentation but I would like to know if irrKlang produces a warning if the file its supposed tro play is missing.

With this warning I would like like to display a messagebox warning the user the file is missing.

Any ideas?


niko
Moderator
Quote
2016-11-22 05:39:25

If you play a sound and request it to return a pointer to the playing sound back, it will return 0 if the file isn't there or could not be decoded. Maybe you could use that?


Phleb
Guest
Quote
2016-11-23 09:00:40

I can work with that.

Thank you :).


Phleb
Guest
Quote
2016-11-24 00:44:06

Hello,

Sorry to bug you but I cannot work out whats needed from the documentation :(.

The only thing I could find that might be what you mention is;


public ISoundSource GetSoundSource(
string soundName
);

But I can't work out how to actually use it..

Sorry to bother you but could you give an example of how to do it Csharp?


Create reply:


Posted by: (you are not logged in)


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