Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Checks whether this instance is equal to the specified object.
|
|
Sound ( int sampleRate, int bitsPerSample, byte bytes ) : System |
Creates a new instance of this class.
|
|
operator ( ) : bool |
Checks whether two sound are equal.
|
public Sound ( int sampleRate, int bitsPerSample, byte bytes ) : System | ||
sampleRate | int | The number of samples per second. |
bitsPerSample | int | The number of bits per sample. Allowed values are 8 or 16. |
bytes | byte | The PCM sound data per channel. For 8 bits per sample, samples are unsigned from 0 to 255. For 16 bits per sample, samples are signed from -32768 to 32767 and in little endian byte order. |
return | System |