ossaudiodev.oss_audio_device.write()

oss_audio_device.write(data)

Write a bytes-like object data to the audio device and return the number of bytes written. If the audio device is in blocking mode (the default), the entire data is always written (again, this is different from usual Unix device semantics). If the device is in non-blocking mode, some data may not be written —see writeall().

Changed in version 3.5: Writable bytes-like object is now accepted.

doc_python
2016-10-07 17:40:22
Comments
Leave a Comment

Please login to continue.