internal static void StopAllSounds() {
for (int i = 0; i < SourceCount; i++) {
if (Sources[i].State == SoundSourceState.Playing) {
AL.DeleteSources(1, ref Sources[i].OpenAlSourceName);
Sources[i].OpenAlSourceName = 0;
}
Sources[i].State = SoundSourceState.Stopped;
}
}