C# 클래스 Wave.FormatHeader

Wave ファイルのフォーマットヘッダ。
파일 보기 프로젝트 열기: ufcpp/UfcppSample 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
blockSize short
ch short
dataRate int
id short
sampleBit short
sampleRate int

공개 메소드들

메소드 설명
FormatHeader ( ) : System
FormatHeader ( BinaryReader reader ) : System

BinaryReader からヘッダ読み出し。

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

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

ReadFromStream ( BinaryReader reader ) : void

BinaryReader からヘッダ読み出し。

WriteToStream ( BinaryWriter writer ) : void

메소드 상세

FormatHeader() 공개 메소드

public FormatHeader ( ) : System
리턴 System

FormatHeader() 공개 메소드

BinaryReader からヘッダ読み出し。
public FormatHeader ( BinaryReader reader ) : System
reader System.IO.BinaryReader
리턴 System

FormatHeader() 공개 메소드

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

ReadFromStream() 공개 메소드

BinaryReader からヘッダ読み出し。
public ReadFromStream ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

WriteToStream() 공개 메소드

public WriteToStream ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

프로퍼티 상세

blockSize 공개적으로 프로퍼티

public short blockSize
리턴 short

ch 공개적으로 프로퍼티

public short ch
리턴 short

dataRate 공개적으로 프로퍼티

public int dataRate
리턴 int

id 공개적으로 프로퍼티

public short id
리턴 short

sampleBit 공개적으로 프로퍼티

public short sampleBit
리턴 short

sampleRate 공개적으로 프로퍼티

public int sampleRate
리턴 int