|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Field Summary | |
---|---|
int |
AverageBytesPerSec
Specifies the average data rate, in bytes per second. If wFormatTag is WAVE_FORMAT_PCM, nAvgBytesPerSec must equal the product of nSamplesPerSec and nBlockAlign. |
short |
BlockAlign
Specifies the block alignment, in bytes. The block alignment is the minimum atomic unit of data. This value can be used for buffer alignment. If wFormatTag is WAVE_FORMAT_PCM, nBlockAlign must equal the product of nChannels and wBitsPerSample divided by 8. |
short |
Channels
Specifies the number of channels in the audio stream. |
short |
FormatTag
Specifies the audio waveform type. A complete list of format tags can be found in the Mmreg.h header file. |
int |
SamplesPerSec
Specifies the sample rate in samples/second (Hz). Common values are 8,000; 11,025; 22,050; and 44,100. |
Constructor Summary | |
---|---|
AviFile.WAVEFORMAT(System.IO.Stream stream) |
Method Summary | |
---|---|
void | ReadData(System.IO.Stream stream) |
string | ToString() |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone |
Field Detail |
---|
public int AverageBytesPerSec
Specifies the average data rate, in bytes per second. If wFormatTag is WAVE_FORMAT_PCM, nAvgBytesPerSec must equal the product of nSamplesPerSec and nBlockAlign.
public short BlockAlign
Specifies the block alignment, in bytes. The block alignment is the minimum atomic unit of data. This value can be used for buffer alignment. If wFormatTag is WAVE_FORMAT_PCM, nBlockAlign must equal the product of nChannels and wBitsPerSample divided by 8.
public short Channels
Specifies the number of channels in the audio stream.
public short FormatTag
Specifies the audio waveform type. A complete list of format tags can be found in the Mmreg.h header file.
public int SamplesPerSec
Specifies the sample rate in samples/second (Hz). Common values are 8,000; 11,025; 22,050; and 44,100.
Constructor Detail |
---|
public AviFile.WAVEFORMAT(System.IO.Stream stream)
Method Detail |
---|
public void ReadData(System.IO.Stream stream)
public string ToString()
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |