public WaveStreamImpl(GameRes.SoundInput input) { m_input = input; var format = m_input.Format; m_format = WaveFormat.CreateCustomFormat ((WaveFormatEncoding)format.FormatTag, (int)format.SamplesPerSecond, format.Channels, (int)format.AverageBytesPerSecond, format.BlockAlign, format.BitsPerSample); }
public WaveStreamImpl(GameRes.SoundInput input) { m_input = input; var format = m_input.Format; m_format = WaveFormat.CreateCustomFormat((WaveFormatEncoding)format.FormatTag, (int)format.SamplesPerSecond, format.Channels, (int)format.AverageBytesPerSecond, format.BlockAlign, format.BitsPerSample); }