cpal/examples/ios-feedback/src
mbodmer 0a3e8c2208
add timeout paramter to DeviceTrait stream builders (#696)
* add timeout paramter to DeviceTrait stream builders

This makes it possible for the library client to handle situations where the host
takes too long to respond or even blocks forever, eg. a retry can be applied.

if the timeout passed is "None" the current behaviour is applied, eg. blocking forever.
if the timeout passed is a Duration then it will be applied to the Device Streams.
This is only implemented for ALSA, the other hosts will ignore the parameter for now.

Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch>
2022-10-18 18:15:31 +02:00
..
feedback.rs add timeout paramter to DeviceTrait stream builders (#696) 2022-10-18 18:15:31 +02:00
lib.rs Refactor coreaudio host and add iOS support + ios-feedback example 2021-01-02 02:04:13 +11:00