protected ulong GetSampleCount(AudioBuffer buffer) { return((ulong)BackendHelper.GetSampleCount(RequestedSampleFormat, (int)RequestedChannelCount, (int)buffer.DataSize)); }
protected ulong GetSampleCount(int dataSize) { return((ulong)BackendHelper.GetSampleCount(RequestedSampleFormat, (int)RequestedChannelCount, dataSize)); }