void SoundPlayerOpenAL::stop(StrSound* strSound, int64 fadeOff) {
    assert(strSound != 0);

    for(StreamSoundSources::iterator i = streamSources.begin();
            i != streamSources.end(); ++i) {
        StreamSoundSource* source = *i;
        if(source->sound == strSound) {
            source->stop(fadeOff);
        }
    }
}
void SoundPlayerOpenAL::stopAllSounds() {
    for(StaticSoundSources::iterator i = staticSources.begin();
            i != staticSources.end(); ++i) {
        StaticSoundSource* source = *i;
        source->stop();
    }
    for(StreamSoundSources::iterator i = streamSources.begin();
            i != streamSources.end(); ++i) {
        StreamSoundSource* source = *i;
        source->stop();
    }
}