Class SeekableSound

Sound that can be seeked

class SeekableSound
  : StreamedSound ;


duration[get] doubleDuration, in seconds
size[get] ulongNumber of samples
bitDepth[get] uintNumber of bits in each sample channel
channels[get] uintNumber of channels per sample
sampleFormat[get] SampleFormatSample format
sampleRate[get] uintNumber of samples per second, in Hz
sampleSize[get] uintNumber of bytes in each sample (bitDepth / 8 * channels)


reset () Return to the start of a stream
stream (buffer) Fill in the buffer with next portion of sound data. Function returns actual number of bytes written. At the end of a stream, zero is returned.