SoundEngine_Initialize(44100);
SoundEngine_SetListenerPosition(0.0, 0.0, 1.0);
SoundEngine_LoadEffect([[mainBundle pathForResource:@"Failure" ofType:@"caf"] UTF8String], &guitar_sound_id);
however the last call to LoadEffect gets an error in the console "Error generating buffer : a002", and then
"Error loading looping file info: 40962"
I had assumed that the call to SoundEngine_Initialize would do the trick in terms of allocating buffers.
Or does SoundEngine depend on OpenGL? That is the only thing I could think of, but why would a sound system use OpenGL?
Anyway is there some other magical incantation that will make SoundEngine work? it seems like a nice helper program with a straightforward API that seems a lot easier than interacting with the Audio Queue manager; I just want to make some sound effects in my game, and also play some background music, and the system sound API is only for short sounds, so I gotta master Core Audio one way or the other. Heck the old sound manager was a nasty piece of work but I eventually figured it out, and sure would like to get sounds emitting... already exhausted myself one whole day on this!
any help is greatly appreciated.