public ConvertLatencyToByteSize ( int milliseconds ) : int | ||
milliseconds | int | The milliseconds. |
return | int |
public WaveData(double seconds) { var length = Format.ConvertLatencyToByteSize((int)(seconds * 1000)); Samples = new short[length / BytesPerSample]; ByteArray = new byte[length]; }