C# Class DSPUtil.CallbackSource

Wraps a callback function to become a SoundObj Example: new CallbackSource( 1, 44100, delegate(int j) { ... return sample ... } );
Inheritance: SoundObj
Mostrar archivo Open project: hughpyle/inguz-DSPUtil Class Usage Examples

Public Methods

Method Description
CallbackSource ( ) : System
CallbackSource ( ushort nChannels, uint sampleRate, SourceCallback fn ) : System

Method Details

CallbackSource() public method

public CallbackSource ( ) : System
return System

CallbackSource() public method

public CallbackSource ( ushort nChannels, uint sampleRate, SourceCallback fn ) : System
nChannels ushort
sampleRate uint
fn SourceCallback
return System