iphone Programming Glossary: bufferid
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 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 are going to be used to.. @' already exists. aSoundKey return NSUInteger bufferID Generate a buffer within OpenAL for this sound alGenBuffers 1 bufferID Set up the variables which are going to be used to hold the format size and frequency of the sound file we are loading ALenum.. NSLog @ ERROR SoundManager Error loading sound x n error exit 1 Use the static buffer data API alBufferDataStaticProc bufferID format data size freq if error alGetError AL_NO_ERROR NSLog @ ERROR SoundManager Error attaching audio to buffer x n error..
|