osxaudio improvements
A patch stack for osxaudiosrc/osxaudiosink to improve their behaviour:
- By interpolating the AudioClock between audio ringbuffer segments. Previously the clock would be a
latency-time
staircase. - By attempting to configure the CoreAudio packet sizes to match the GStreamer ringbuffer segment size
- By marking timestamps on captured buffers to detect discontinuities better
Tested on MacOS, where it makes osxaudiosrc latency-time=5000 buffer-time=10000 ! audioconvert ! audiolatency print-latency=true ! osxaudiosink buffer-time=10000 latency-time=5000 processing-deadline=1000000
work reliably, and reduces the round-trip time by around 20ms