Could you give a minimal example that produces this error ?
Actually, the issue seems to have been resolved by switching from the debug to the release versions of the SFML frameworks.
In case you're interested, here's the test program I was using:
#include <iostream>
#include <SFML/Audio.hpp>
int main()
{
sf::Music music;
music.OpenFromFile("music.ogg");
music.Play();
char c;
std::cin >> c;
}
When using the debug version of the SFML audio framework, this generated a couple of different errors, depending on which version of the OpenAL framework was used. With the version of OpenAL currently available on the OpenAL website, I got:
An internal OpenAL call failed in Sound.cpp (41) :
AL_INVALID_OPERATION, the specified operation is not allowed in the current state
When first playing the music track. With the version of OpenAL that installs along with OS X, I was getting:
An internal OpenAL call failed in SoundStream.cpp (276) :
AL_INVALID_OPERATION, the specified operation is not allowed in the current state
On shutdown (or when calling Stop() on the music object).
I'm guessing this is just a case of user error related to using the wrong frameworks. I figured I'd go ahead and post the above information though, just in case.
Thanks,
Jesse