Exemplo n.º 1
0
 /// <summary>
 /// Get the number of samples from a block size.
 /// </summary>
 /// <param name="blockSize">Block size to get the number of samples from.</param>
 /// <returns>Number of samples.</returns>
 public int SamplesFromBlockSize(int blockSize) => DspAdpcmMath.ByteCountToSampleCount(blockSize);
Exemplo n.º 2
0
 /// <summary>
 /// Number of samples contained.
 /// </summary>
 /// <returns>Number of samples.</returns>
 public int SampleCount() => DspAdpcmMath.ByteCountToSampleCount(Data.Length);