oss_audio_device.writeall(data) Write a bytes-like object data to the audio
oss_audio_device.speed(samplerate) Try to set the audio sampling rate to samplerate samples per second. Returns the
exception audioop.error This exception is raised on all errors, such as unknown number of bytes per sample, etc.
audioop.tomono(fragment, width, lfactor, rfactor) Convert a stereo fragment to a mono fragment. The left channel is multiplied
oss_audio_device.fileno() Return the file descriptor associated with the device.
Wave_read.readframes(n) Reads and returns at most n frames of audio, as a string of bytes.
audioop.byteswap(fragment, width) “Byteswap” all samples in a fragment and returns the modified fragment. Converts big-endian
oss_audio_device.write(data) Write a bytes-like object data to the audio device
exception ossaudiodev.OSSAudioError This exception is raised on certain errors. The argument is a string describing what went
oss_mixer_device.fileno() Returns the file handle number of the open mixer device file.
Page 6 of 14