C# Class Glare.Audio.AudioStreamer

This streams AudioBuffer chunks to an AudioSource by streaming from a AudioStream that decompresses formats such as Mp3 or Vorbis.
Inheritance: IDisposable
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
AudioStreamer ( AudioSource source, AudioStream stream ) : System
AudioStreamer ( AudioSource source, AudioStream stream, System.TimeSpan bufferTime ) : System
AudioStreamer ( AudioSource source, AudioStream stream, int bufferSampleCount ) : System
Dispose ( ) : void

Private Methods

Méthode Description
BufferTimeToSamples ( AudioStream stream, System.TimeSpan time ) : int
FillBuffer ( AudioBuffer buffer ) : void
Update ( ) : void

Method Details

AudioStreamer() public méthode

public AudioStreamer ( AudioSource source, AudioStream stream ) : System
source AudioSource
stream AudioStream
Résultat System

AudioStreamer() public méthode

public AudioStreamer ( AudioSource source, AudioStream stream, System.TimeSpan bufferTime ) : System
source AudioSource
stream AudioStream
bufferTime System.TimeSpan
Résultat System

AudioStreamer() public méthode

public AudioStreamer ( AudioSource source, AudioStream stream, int bufferSampleCount ) : System
source AudioSource
stream AudioStream
bufferSampleCount int
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void