Converts a position in bytes to time string. Requires several parameters to work.
Declaration Syntax
public static string ToTimeString(
long positionBytes,
uint bitsPerSample,
int channelCount,
uint sampleRate
)
Parameters
- positionBytes (Int64)
- Position (in bytes)
- bitsPerSample (UInt32)
- Bits per sample (ex: 16 for 16-bit)
- channelCount (Int32)
- Channel count (ex: 2 for stereo)
- sampleRate (UInt32)
- Sample rate (ex: 44100 for 44100Hz)
Return Value
Position in time string (00:00.000)
Assembly:
MPfm.Sound (Module: MPfm.Sound) Version: 0.5.3.0 (0.5.3.0)