Property | Type | Description | |
---|---|---|---|
blockSize | short | ||
ch | short | ||
dataRate | int | ||
id | short | ||
sampleBit | short | ||
sampleRate | int |
Method | Description | |
---|---|---|
FormatHeader ( ) : System | ||
FormatHeader ( |
BinaryReader からヘッダ読み出し。
|
|
FormatHeader ( int rate, bool stereo, bool type ) : System |
サンプリングレート等のパラメータからヘッダ作成。
|
|
ReadFromStream ( |
BinaryReader からヘッダ読み出し。
|
|
WriteToStream ( |
public FormatHeader ( |
||
reader | ||
return | System |
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 |
public ReadFromStream ( |
||
reader | ||
return | void |
public WriteToStream ( |
||
writer | ||
return | void |