static private IsStopped ( SoundSource source ) : bool | ||
source | SoundSource | The sound source, or a null reference. |
return | bool |
internal static bool IsStopped(SoundSource source) {
if (source != null) {
if (source.State == SoundSourceState.StopPending | source.State == SoundSourceState.Stopped) {
return true;
}
}
return false;
}