Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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 |
|