void SoundPlayerOpenAL::play(StrSound* strSound, int64 fadeOn) { assert(strSound != 0); try { StreamSoundSource* source = findStreamSoundSource(); source->play(strSound, fadeOn); } catch(std::exception& e) { std::cerr << "Couldn't play streaming sound: " << e.what() << "\n"; } }