Ambiera Forum

Discussions, Help and Support.

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

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

i am trying to wrap sounds in a class as shown

[code]class Sound
{
public:
//bool isPlaying();
Sound();
~Sound();
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);


///ECHO

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

//void DisableEcho();
private:

};[code]

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)


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