DefaultAudioHandle

Warning

This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the IAudioHandle service via dependency injection to access this functionality.

Information documented here may not be up to date.

class DefaultAudioHandle : System.Object, IAudioHandle

The default implementation of T:Protogame.IAudioHandle.

float Volume
readonly bool IsPlaying
public void Loop()
public void Pause()
public void Play()
public void Stop(bool immediate)
Parameters:
  • immediate (bool) –