Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Irrklang Sound stucks when ending form (repeats endless with strange noise)

Irrklanguser
Guest
Quote
2014-08-25 12:38:18

When using the irrklang soundengine in form B, while game main form is form A, sound plays as expected. When game has finished, last sound is played, then irrklang.stopallsound, and form is closed (maybe even disposed). At this point, opens form A again. But the last played sound stucks in an endless loop ... and as if that is not bad enough, the form seems to be reacting only every 2 seconds on events (moving, resizing), so it is still very busy.

Is there maybe a little bug in the engine?

The main form of the project (menu) is always existing (just hidden). I tried to call the sound and define the soundengine in the form A (menu), not in form B (game). But that didn't solve the problem. The sound is still looping endless (despite i used stopallsounds before), when exiting the B-form with the game, and return to the menu (form A).

Please help.


Irrklanguser
Guest
Quote
2014-08-25 12:40:09

Btw.: using the irrklang with .NET (4) in VB/C.


Irrklanguser
Guest
Quote
2014-08-25 12:55:55

Buuh, just tested something weird, and now there is no more sound stucking. It was a tricky piece of code, reactivating a timer, that started a coroutine, that made the sound and ... narf! Bad stuff ...

But irrklang works propperly now. Not bug. ;-)


niko
Moderator
Quote
2014-08-25 19:21:39

Ah, cool :)


Create reply:


Posted by: (you are not logged in)


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