C# Class Poker.Client.Audio.AudioEncoderBase

Inheritance: IAudioEncoder
Datei anzeigen Open project: BernhardGlueck/Poker

Public Methods

Method Description
Close ( ) : void
Open ( System targetStream, int channelCount, int sampleFrequency ) : void
Write ( float samples, int count ) : void

Protected Methods

Method Description
OnClose ( ) : void
OnOpen ( System targetStream, int channelCount, int sampleFrequency ) : void
OnWrite ( byte buffer, int count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

OnClose() protected abstract method

protected abstract OnClose ( ) : void
return void

OnOpen() protected abstract method

protected abstract OnOpen ( System targetStream, int channelCount, int sampleFrequency ) : void
targetStream System
channelCount int
sampleFrequency int
return void

OnWrite() protected abstract method

protected abstract OnWrite ( byte buffer, int count ) : void
buffer byte
count int
return void

Open() public method

public Open ( System targetStream, int channelCount, int sampleFrequency ) : void
targetStream System
channelCount int
sampleFrequency int
return void

Write() public method

public Write ( float samples, int count ) : void
samples float
count int
return void