C# Class Poker.Client.Audio.SpeexAudioEncoder

Inheritance: IAudioEncoder
Datei anzeigen Open project: BernhardGlueck/Poker

Public Methods

Method Description
Close ( ) : void
Open ( Stream targetStream, int channelCount, int sampleFrequency ) : void
SpeexAudioEncoder ( bool encodeOgg, BandMode bandMode, bool isVbr, int quality ) : System.IO
Write ( float input, int count ) : void

Private Methods

Method Description
GetModeAsInt ( ) : int
WriteCore ( float samples, int count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Open() public method

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

SpeexAudioEncoder() public method

public SpeexAudioEncoder ( bool encodeOgg, BandMode bandMode, bool isVbr, int quality ) : System.IO
encodeOgg bool
bandMode BandMode
isVbr bool
quality int
return System.IO

Write() public method

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