C# Class SoundLibrary.Stream.Stream

音声ストリーム用インタフェース。 めんどくさいんで、16ビットPCM限定。 モノラル版。
Datei anzeigen Open project: ufcpp/UfcppSample

Public Methods

Method Description
FillBuffer ( short buffer ) : int

バッファにデータを読み込む。

FillBuffer ( short buffer, int offset, int size ) : int

バッファにデータを読み込む。

Skip ( int size ) : bool

データを空読みする。

Method Details

FillBuffer() public method

バッファにデータを読み込む。
public FillBuffer ( short buffer ) : int
buffer short データ読み込み先のバッファ
return int

FillBuffer() public abstract method

バッファにデータを読み込む。
public abstract FillBuffer ( short buffer, int offset, int size ) : int
buffer short データ読み込み先のバッファ
offset int データを書き込み始める場所のオフセット
size int 読み出したいデータ長
return int

Skip() public abstract method

データを空読みする。
public abstract Skip ( int size ) : bool
size int 空読みしたいサイズ
return bool