private Initialize ( Stream output, ushort numChannels, uint sampleRate, ushort bitsPerSample, DitherType dither, WaveFormat format ) : void | ||
output | Stream | |
numChannels | ushort | |
sampleRate | uint | |
bitsPerSample | ushort | |
dither | DitherType | |
format | WaveFormat | |
Результат | void |
private void Initialize(Stream output, ushort numChannels, uint sampleRate, ushort bitsPerSample, DitherType dither, WaveFormat format)
{
NumChannels = numChannels;
SampleRate = sampleRate;
BitsPerSample = bitsPerSample;
_audioFormat = format;
_dither = dither;
_sampleCount = 0;
_doneHeader = false;
_fs = null;
_bs = new BufferedStream(output);
_w = new BinaryWriter(_bs);
}
WaveWriter::Initialize ( string fileName, ushort numChannels, uint sampleRate, ushort bitsPerSample, DitherType dither, WaveFormat format, bool rewrite ) : void |