Class Utility
Declaration
Fields
OK
Representative ErrorCode for Ok.
Declaration
Methods
RateToSamples(MediaSampleRate, int)
Get sample size by samplerate and time
Declaration
Returns
System.Int32
: sample size
Parameters
Type | Name | Description |
---|---|---|
OdinNative.Core.MediaSampleRate | sampleRate | samplerate in hz |
System.Int32 | ms | time in milliseconds |
IsError(uint)
Determines if the specified error code identifies an actual error.
Declaration
Returns
System.Boolean
: true if error
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | error | error code |