C# 클래스 GAudio.GATWavHelper

Convenience helper methods and constants for reading and writing wav files.
파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dataBytes byte[]
floatToInt16RescaleFactor int
fmtBytes byte[]
headerSize int
riffBytes byte[]
waveBytes byte[]

공개 메소드들

메소드 설명
GetHeader ( int numChannels, int sampleRate, int numBytes ) : byte[]

Returns the header for a 16 bit uncompressed wav file.

IsEqualTo ( this bytes, byte comparand ) : bool

Compare byte arrays ( extension method )

메소드 상세

GetHeader() 공개 정적인 메소드

Returns the header for a 16 bit uncompressed wav file.
public static GetHeader ( int numChannels, int sampleRate, int numBytes ) : byte[]
numChannels int
sampleRate int
numBytes int
리턴 byte[]

IsEqualTo() 공개 정적인 메소드

Compare byte arrays ( extension method )
public static IsEqualTo ( this bytes, byte comparand ) : bool
bytes this
comparand byte
리턴 bool

프로퍼티 상세

dataBytes 공개적으로 정적으로 프로퍼티

public static byte[] dataBytes
리턴 byte[]

floatToInt16RescaleFactor 공개적으로 정적으로 프로퍼티

Multiplier for converting float32 to int16
public static int floatToInt16RescaleFactor
리턴 int

fmtBytes 공개적으로 정적으로 프로퍼티

public static byte[] fmtBytes
리턴 byte[]

headerSize 공개적으로 정적으로 프로퍼티

The size of the header, in bytes.
public static int headerSize
리턴 int

riffBytes 공개적으로 정적으로 프로퍼티

public static byte[] riffBytes
리턴 byte[]

waveBytes 공개적으로 정적으로 프로퍼티

public static byte[] waveBytes
리턴 byte[]