public CallbackWaveProvider16(WaveFormat format, RenderAudioBufferDelegate renderCallback, object syncLock) { SyncLock = syncLock; m_Format = format; SilenceBuffer = new byte[m_Format.BitsPerSample / 8 * m_Format.Channels * 2]; RenderCallback = renderCallback; }