C# Class CSPspEmu.Hle.Formats.audio.WaveStream.WaveFormat

显示文件 Open project: soywiz/cspspemu

Public Properties

Property Type Description
BitsPerSample ushort
BlockAlignment ushort
BytesPerSecond uint
CompressionCode ushort
NumberOfChannels ushort
Padding ushort
SampleRate uint

Property Details

BitsPerSample public_oe property

???
public ushort BitsPerSample
return ushort

BlockAlignment public_oe property

short.sizeof * numberOfChannels
public ushort BlockAlignment
return ushort

BytesPerSecond public_oe property

Should be on uncompressed PCM : sampleRate * short.sizeof * numberOfChannels
public uint BytesPerSecond
return uint

CompressionCode public_oe property

01 00 - For Uncompressed PCM (linear quntization)
public ushort CompressionCode
return ushort

NumberOfChannels public_oe property

02 00 - Stereo
public ushort NumberOfChannels
return ushort

Padding public_oe property

public ushort Padding
return ushort

SampleRate public_oe property

44 AC 00 00 - 44100
public uint SampleRate
return uint