ossaudiodev.oss_audio_device.writeall()

oss_audio_device.writeall(data)

Write a bytes-like object data to the audio device: waits until the audio device is able to accept data, writes as much data as it will accept, and repeats until data has been completely written. If the device is in blocking mode (the default), this has the same effect as write(); writeall() is only useful in non-blocking mode. Has no return value, since the amount of data written is always equal to the amount of data supplied.

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.