sco-sink: fix several timeout issues
This MR fixes several timeout issues in the sco-sink node that were not present in an old version of the work branch. This fixes are needed so that sco-sink does not hang forever.
Steps to reproduce the issue:
- Run pipewire with the example media-session
- Connect a bluetooth speaker that supports HSP/HFP profiles
- Wait until the sco-sink node is created
- Run the example audio-src with the sco-sink node id
- Without the patch, sco-sink only processes 1 buffer and hangs. With the patch, sco-sink processes all buffers normally