summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-15 22:50:16 +0200
committerwm4 <wm4@nowhere>2014-04-15 22:50:16 +0200
commit5aeec9aa70f47a88aeb20057169d54c54e87d017 (patch)
treea2fe13a577030e60d0773e493517ef9fb7c74460 /player
parentad75b8e339e3a8a1aae3564695a572836228cdc5 (diff)
downloadmpv-5aeec9aa70f47a88aeb20057169d54c54e87d017.tar.bz2
mpv-5aeec9aa70f47a88aeb20057169d54c54e87d017.tar.xz
audio: wake up the core when audio buffer is running low (2)
Same change as in e2184fcb, but this time for pull based AOs. This is slightly controversial, because it will make a fast syscall from e.g. ao_jack. And according to JackAudio developers, syscalls are evil and will destroy realtime operation. But I don't think this is an issue at all. Still avoid locking a mutex. I'm not sure what jackaudio does in the worst case - but if they set the jackaudio thread (and only this thread) to realtime, we might run into deadlock situations due to priority inversion and such. I'm not quite sure whether this can happen, but I'll readily follow the cargo cult if it makes hack happy.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions