Class AudioManager
Responsible for interfacing with a single audio driver.
Inheritance
System.Object
AudioManager
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System.Audio
Assembly: Cosmos.System2.dll
Syntax
public class AudioManager : IAudioBufferProvider
Properties
| Improve this Doc View SourceEnabled
A value indicating whether this audio manager is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Output
The audio driver to supply the output audio buffer to.
Declaration
public AudioDriver Output { get; set; }
Property Value
Type | Description |
---|---|
AudioDriver |
Stream
The audio stream to use when reading to the buffer.
Declaration
public AudioStream Stream { get; set; }
Property Value
Type | Description |
---|---|
AudioStream |
Methods
| Improve this Doc View SourceDisable()
Disables this audio manager.
Declaration
public void Disable()
Enable()
Enables this audio manager.
Declaration
public void Enable()
RequestBuffer(AudioBuffer)
Declaration
public void RequestBuffer(AudioBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
AudioBuffer | buffer |