Utility.RateToSamples
public static int RateToSamples(uint sampleRate = 48000U, int ms = 20)
Get sample size by samplerate and time
Parameters
Name | Type | Description |
---|---|---|
sampleRate | UInt32 | samplerate in hz |
ms | Int32 | time in milliseconds |
Returns
Type | Description |
---|---|
Int32 | sample size |