auhal: remove mutex in RenderCallback
A lock was introduced to signal the flush function when the circular buffer was empty. We don't need a mutex/cond here, we can sleep for the duration of the remaining buffer instead. This method is less precise but doesn't introduce a lock in the render callback.
Showing with 17 additions and 28 deletions