C# Class Sagen.AudioStream

Inheritance: IDisposable
Afficher le fichier Open project: TheBerkin/Sagen Class Usage Examples

Méthodes publiques

Méthode Description
AudioStream ( SampleFormat format, Synthesizer synth ) : System
Dispose ( ) : void
MarkFullyQueued ( ) : void
QueueDataBlock ( Stream stream ) : void
WaitToFinish ( ) : void

Private Methods

Méthode Description
CreateFormatSpec ( SampleFormat format, int sampleRate ) : WAVEFORMATEX
WaveOutProc ( IntPtr hWaveOut, WaveOutMessage message, IntPtr dwInstance, IntPtr dwParam1, IntPtr dwParam2 ) : void
waveOutClose ( IntPtr hwo ) : MMRESULT
waveOutOpen ( IntPtr &hWaveOut, IntPtr uDeviceID, WAVEFORMATEX &lpFormat, [ dwOutProcCallback, IntPtr dwInstance, WaveOutOpenFlags dwFlags ) : MMRESULT
waveOutPrepareHeader ( IntPtr hWaveOut, IntPtr pwh, int uSize ) : MMRESULT
waveOutUnprepareHeader ( IntPtr hwo, IntPtr pwh, int cbwh ) : MMRESULT
waveOutWrite ( IntPtr hwo, IntPtr pwh, int cbwh ) : MMRESULT

Method Details

AudioStream() public méthode

public AudioStream ( SampleFormat format, Synthesizer synth ) : System
format SampleFormat
synth Synthesizer
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MarkFullyQueued() public méthode

public MarkFullyQueued ( ) : void
Résultat void

QueueDataBlock() public méthode

public QueueDataBlock ( Stream stream ) : void
stream Stream
Résultat void

WaitToFinish() public méthode

public WaitToFinish ( ) : void
Résultat void