Velaptor.Content.Audio
Velaptor
Velaptor.Content
Audio Class
A single audio that can be played, paused etc.
public sealed class Audio :
Velaptor.Content.IAudio,
Velaptor.Content.IContent,
System.IDisposable
Inheritance System.Object → Audio
Implements IAudio, IContent, System.IDisposable
Properties
BufferType
A single audio that can be played, paused etc.
public Velaptor.Content.AudioBuffer BufferType { get; }
Implements BufferType
Property Value
FilePath
A single audio that can be played, paused etc.
public string FilePath { get; }
Property Value
Id
Gets the unique ID of the audio.
public uint Id { get; set; }
Implements Id
Property Value
IsLooping
A single audio that can be played, paused etc.
public bool IsLooping { get; set; }
Implements IsLooping
Property Value
IsPaused
A single audio that can be played, paused etc.
public bool IsPaused { get; }
Implements IsPaused
Property Value
IsPlaying
A single audio that can be played, paused etc.
public bool IsPlaying { get; }
Implements IsPlaying
Property Value
IsStopped
A single audio that can be played, paused etc.
public bool IsStopped { get; }
Implements IsStopped
Property Value
Length
A single audio that can be played, paused etc.
public System.TimeSpan Length { get; }
Implements Length
Property Value
Name
A single audio that can be played, paused etc.
public string Name { get; }
Property Value
PlaySpeed
A single audio that can be played, paused etc.
public float PlaySpeed { get; set; }
Implements PlaySpeed
Property Value
Position
A single audio that can be played, paused etc.
public System.TimeSpan Position { get; }
Implements Position
Property Value
Volume
A single audio that can be played, paused etc.
public float Volume { get; set; }
Implements Volume
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose();
Implements Dispose()
FastForward(float)
A single audio that can be played, paused etc.
public void FastForward(float seconds);
Parameters
seconds
System.Single
Implements FastForward(float)
Pause()
A single audio that can be played, paused etc.
public void Pause();
Implements Pause()
Play()
A single audio that can be played, paused etc.
public void Play();
Implements Play()
Rewind(float)
A single audio that can be played, paused etc.
public void Rewind(float seconds);
Parameters
seconds
System.Single
Implements Rewind(float)
SetTimePosition(float)
A single audio that can be played, paused etc.
public void SetTimePosition(float seconds);
Parameters
seconds
System.Single
Implements SetTimePosition(float)
Stop()
A single audio that can be played, paused etc.
public void Stop();
Implements Stop()