• Max Kellermann's avatar
    player_thread: get "elapsed" from audio outputs · 448aefaa
    Max Kellermann authored
    Tracking the "elapsed" time from the chunks which we have sent to the
    output pipe is very imprecise: since we have implemented the music
    pipe, we're sending large number of chunks at once, giving the
    "elapsed" time stamp a resolution of usually more than a second.
    
    This patch changes the source of this information to the outputs.  If
    a chunk has been played by all outputs, the "elapsed" time stamp is
    updated.
    
    The new command PLAYER_COMMAND_REFRESH makes the player thread update
    its status information: it tells the outputs to update the chunk time
    stamp.  After that, player_control.elapsed_time is current.
    448aefaa
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...