Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I am currently experimenting with the irrKlang library. Sadly I am not that comfortable with C++... My Problems: 1. I am trying to drop() the given Sound in the OnSoundStopped Function but it returns an ACCESS VIOLATION during runtime 2. I get an ACCESS VIOLATION when dropping the ISoundEngine at the end of the program 3. None of the possibilities for pausing/resuming works for my. I tried "mySound->setlsPaused(false)", "mySound->pause()" and many more possibilities. Which is the correct one? Here my Test Code: main.cpp: include <iostream> SongEndReceiver.h: include <irrKlang.h> Thank you very much! Best wishes for 2013! Greetings from Germany, Sebastian //edit: typo corrected |
||||
|
irrKlang is supposed to be used from the same thread it was created in. I think your problems are simply caused by the thread you are creating, and calling irrklang in there. |
|