AvgBytesPerSec [RW] |
Required average data-transfer rate, in bytes per second, for the format
tag. If FormatTag is WAVE_FORMAT_PCM, AvgBytesPerSec should be equal to
the product of SamplesPerSec and BlockAlign. For non-PCM formats, this member
must be computed according to the manufacturer's specification of the format
tag. |
BitsPerSample [RW] |
Bits per sample for the FormatTag format type. If FormatTag is WAVE_FORMAT_PCM,
then BitsPerSample should be equal to 8 or 16. For non-PCM formats, this
member must be set according to the manufacturer's specification of the
format tag. |
BlockAlign [RW] |
Block alignment, in bytes. The block alignment is the minimum atomic unit
of data for the FormatTag format type. If FormatTag is WAVE_FORMAT_PCM,
BlockAlign should be equal to the product of Channels and BitsPerSample
divided by 8 (bits per byte). For non-PCM formats, this member must be computed
according to the manufacturer's specification of the format tag. |
CodeName [R] |
return the codec name of the format, such as PCM, ADPCM,GSM and so on. |
FormatDetail [R] |
return the format detail description |
FormatID [RW] |
return/set the displayable unique string identify the current wave format. |
FormatIndex |
Sets the new wave format with index value. |
SamplesPerSec [RW] |
Sample rate, in samples per second (hertz), that each channel should be
played or recorded. If FormatTag is WAVE_FORMAT_PCM, then common values
for SamplesPerSec are 8.0 kHz, 11.025 kHz, 22.05 kHz, and 44.1 kHz. For
non-PCM formats, this member must be computed according to the manufacturer's
specification of the format tag. |
FormatTag [RW] |
Waveform-audio format type. |
IsVaild [R] |
return True if current format value is vaild , otherwise return FALSE |