C# Class GAudio.GATAudioThreadStreamSplitter

Splits a multi channel input stream in as many mono output streams.
Inheritance: IGATAudioThreadStreamClient, IGATAudioThreadStreamOwner, IDisposable
Show file Open project: gregzo/G-Audio Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Releases all resource used by the GATAudioThreadStreamSplitter object.

Call Dispose when you are finished using the GATAudioThreadStreamSplitter. The Dispose method leaves the GATAudioThreadStreamSplitter in an unusable state. After calling Dispose, you must release all references to the GATAudioThreadStreamSplitter so the garbage collector can reclaim the memory that the GATAudioThreadStreamSplitter was occupying.

GATAudioThreadStreamSplitter ( IGATAudioThreadStream stream, GATDataAllocationMode bufferAllocationMode ) : System

The splitter will begin broadcasting it's sub streams immediately.

GetAudioThreadStream ( int index ) : IGATAudioThreadStream

Protected Methods

Method Description
Dispose ( bool explicitely ) : void

Private Methods

Method Description
IGATAudioThreadStreamClient ( float data, int offset, bool isEmptyData, IGATAudioThreadStream stream ) : void

Method Details

Dispose() public method

Releases all resource used by the GATAudioThreadStreamSplitter object.
Call Dispose when you are finished using the GATAudioThreadStreamSplitter. The Dispose method leaves the GATAudioThreadStreamSplitter in an unusable state. After calling Dispose, you must release all references to the GATAudioThreadStreamSplitter so the garbage collector can reclaim the memory that the GATAudioThreadStreamSplitter was occupying.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool explicitely ) : void
explicitely bool
return void

GATAudioThreadStreamSplitter() public method

The splitter will begin broadcasting it's sub streams immediately.
public GATAudioThreadStreamSplitter ( IGATAudioThreadStream stream, GATDataAllocationMode bufferAllocationMode ) : System
stream IGATAudioThreadStream
bufferAllocationMode GATDataAllocationMode
return System

GetAudioThreadStream() public method

public GetAudioThreadStream ( int index ) : IGATAudioThreadStream
index int
return IGATAudioThreadStream