C# Class SoundLibrary.Wave.FormatHeader

ファイルを表示 Open project: ufcpp/UfcppSample Class Usage Examples

Public Properties

Property Type Description
blockSize short
ch short
dataRate int
id short
sampleBit short
sampleRate int

Public Methods

Method Description
FormatHeader ( int rate, bool stereo, bool type ) : System

サンプリングレート等のパラメータからヘッダ作成。

Method Details

FormatHeader() public method

サンプリングレート等のパラメータからヘッダ作成。
public FormatHeader ( int rate, bool stereo, bool type ) : System
rate int サンプリングレート
stereo bool true ならステレオ、false ならモノラル
type bool true なら16bit/sample、false なら8bit/sample
return System

Property Details

blockSize public_oe property

public short blockSize
return short

ch public_oe property

public short ch
return short

dataRate public_oe property

public int dataRate
return int

id public_oe property

public short id
return short

sampleBit public_oe property

public short sampleBit
return short

sampleRate public_oe property

public int sampleRate
return int