Method | Description | |
---|---|---|
AudioDurationFromBufferSize ( uint audioDataSize ) : long |
Calculate the duration of audio based on the size of the buffer
|
|
BufferSizeFromAudioDuration ( long duration ) : long |
Calculate the buffer size necessary for a duration of audio
|
|
SetFromByteArray ( byte byteArray ) : void |
Set the data from a byte array (usually read from a file)
|
|
ToHexString ( ) : string |
Convert the data to a hex string
|
|
ToLittleEndianString ( string bigEndianString ) : string |
Convert a BigEndian string to a LittleEndian string
|
|
ToString ( ) : string |
Ouput the data into a string.
|
|
ValidateWaveFormat ( ) : void |
Validate that the Wave format is consistent.
|
public AudioDurationFromBufferSize ( uint audioDataSize ) : long | ||
audioDataSize | uint | the buffer size in bytes |
return | long |
public BufferSizeFromAudioDuration ( long duration ) : long | ||
duration | long | the duration |
return | long |
public SetFromByteArray ( byte byteArray ) : void | ||
byteArray | byte | The array used as input to the stucture |
return | void |
public static ToLittleEndianString ( string bigEndianString ) : string | ||
bigEndianString | string | A big endian string |
return | string |