Class PCSExtensions
PC speaker helper class.
Inheritance
System.Object
PCSExtensions
Namespace: Cosmos.System
Assembly: Cosmos.System2.dll
Syntax
public static class PCSExtensions : object
Methods
| Improve this Doc View SourceMsToHz(Int32)
Convert milliseconds (ms) to hertz (Hz).
Declaration
public static uint MsToHz(this int ms)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | ms | A milliseconds value, must be > 0. |
Returns
Type | Description |
---|---|
System.UInt32 | integer value. |
MsToHz(UInt32)
Convert milliseconds (ms) to hertz (Hz).
Declaration
public static uint MsToHz(this uint ms)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | ms | A milliseconds value, must be > 0. |
Returns
Type | Description |
---|---|
System.UInt32 | integer value. |