Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Unhandled exceptions when trying to drop sounds.

Registered User
2023-12-28 18:12:34

i am trying to wrap sounds in a class as shown

[code]class Sound
//bool isPlaying();
Sound(const Sound& other);
Sound& operator=(const Sound& other);

ISound* sound;
void Play();
float getPlayBackPosition();
float GetSoundLength();
void SetPlayBackPosition(float value);
void SetPlaying(bool play);


void EnableEcho(float webtdrymix = 50, float feedback = 50, float leftdelay = 500, float rightdelay = 500, float pandelay = 0);

//void DisableEcho();


my issue is no matter how I do it dropping the sound pointer will always cause an exception.
example of one of the errors Unhandled exception at 0x00007FF85E7AE621 (irrKlang.dll) in App.exe: Fatal program exit requested.

I'm confused on why this is happening as it doesn't seem to happen if I don't wrap it

Create reply:

Posted by: (you are not logged in)

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




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



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