From: Gregory P. <gre...@gm...> - 2009-11-22 15:30:16
|
Hi everybody, This is a start of output plugin latency work. The goal is to work with big (multiple seconds) output buffers as snappy as with small ones. Big buffers are desireable because: 1) probability of experiencing a buffer underrun is much smaller, and 2) big buffers allow to greatly reduce number of wakeups, and this is very important for laptop battery life. With this patchset, playback position info and seeking should be much more accurate (when using pulse output plugin, as it is the only one that has big output buffer by default). Please give it a test and report any issues. --- The following changes since commit ac0f0de9d54790d88c09a108d361151b584076f1: Gregory Petrosyan (1): pulse: don't drain stream in op_pulse_close() are available in the git repository at: git://github.com/flyingmutant/cmus-unofficial.git latency Gregory Petrosyan (4): Update op_buffer_space() comment Introduce op_get_latency() pulse: support op_get_latency() player: use op_get_latency() op.h | 1 + output.c | 16 ++++++++++++++++ output.h | 7 ++++++- player.c | 23 +++++++++++++++++++++-- pulse.c | 21 ++++++++++++++++++++- 5 files changed, 64 insertions(+), 4 deletions(-) |