C# Class DotNES.Core.NESWaveProvider

Inheritance: IWaveProvider
Datei anzeigen Open project: brandonpelfrey/dotnes Class Usage Examples

Public Methods

Method Description
NESWaveProvider ( AudioBuffer audioBuffer ) : System
NESWaveProvider ( int sampleRate, int channels ) : System
Read ( byte buffer, int offset, int count ) : int
Read ( float buffer, int offset, int sampleCount ) : int
SetWaveFormat ( int sampleRate, int channels ) : void

Method Details

NESWaveProvider() public method

public NESWaveProvider ( AudioBuffer audioBuffer ) : System
audioBuffer AudioBuffer
return System

NESWaveProvider() public method

public NESWaveProvider ( int sampleRate, int channels ) : System
sampleRate int
channels int
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Read() public method

public Read ( float buffer, int offset, int sampleCount ) : int
buffer float
offset int
sampleCount int
return int

SetWaveFormat() public method

public SetWaveFormat ( int sampleRate, int channels ) : void
sampleRate int
channels int
return void