iphone Programming Glossary: asoundkey
How do you completely remove and release memory of an OpenAL sound file? http://stackoverflow.com/questions/2035975/how-do-you-completely-remove-and-release-memory-of-an-openal-sound-file check_safe_call could not restore current frame kill quit This is how I load the sounds void loadSoundWithKey NSString aSoundKey fileName NSString aFileName fileExt NSString aFileExt Check to make sure that a sound with the same key does not already.. Check to make sure that a sound with the same key does not already exist NSNumber numVal soundLibrary objectForKey aSoundKey If the key is found log it and finish if numVal nil NSLog @ WARNING SoundManager Sound key ' @' already exists. aSoundKey.. If the key is found log it and finish if numVal nil NSLog @ WARNING SoundManager Sound key ' @' already exists. aSoundKey return NSUInteger bufferID Generate a buffer within OpenAL for this sound alGenBuffers 1 bufferID Set up the variables which..
|