Creates an instance setting the members to certain values.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public WAVEFORMATEX( WAVEFormatTag format, short channels, int samplesPerSec, short bitsPerSample, short exSize )
Parameters
- format
- Type: Un4seen.BassWAVEFormatTag
Waveform-audio format type (see WAVEFormatTag). - channels
- Type: SystemInt16
Number of channels in the waveform-audio data. - samplesPerSec
- Type: SystemInt32
Sample rate, in samples per second (hertz), that each channel should be played or recorded. - bitsPerSample
- Type: SystemInt16
Bits per sample for the wFormatTag format type (e.g. 8, 16 or 32). - exSize
- Type: SystemInt16
Size, in bytes, of extra format information appended to the end of the WAVEFORMATEX structure.
See Also