diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-03 19:59:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-03 20:25:38 +0200 |
commit | d0e5d3638fcc30c01d59742fbf6dbe15d4ec610e (patch) | |
tree | 2de1038f3df41acfd7b7e2b445c54f6a8abe0507 /pph/resample.c | |
parent | e94473de09a5877196196f15a8bc52b2a155a819 (diff) |
Use PA_STREAM_EARLY_REQUESTS if available
Use PA_STREAM_EARLY_REQUESTS if PA knows it. PA >= 0.9.12 learned this flag
which will make the buffering more similar to traditional fragment/period-based
scheduling. Instead of delaying buffer fillup until the latest moment possible
this will cause fillups much earlier.
This is useful for compatibility for broken ALSA clients that don't care about
'readability' of the ALSA fd but instead schedule audio via usleep() or a
similar call. (One exampler being mplayer)
Diffstat (limited to 'pph/resample.c')
0 files changed, 0 insertions, 0 deletions