Mercurial > audlegacy
changeset 496:e52d8e22e718 trunk
[svn] Input buffers are always 3 seconds ahead of what you hear... compensate for this.
author | nenolod |
---|---|
date | Tue, 24 Jan 2006 21:47:40 -0800 |
parents | a371216b5c8a |
children | dfba4ac44dd8 |
files | Plugins/Input/console/Audacious_Driver.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp Tue Jan 24 21:34:46 2006 -0800 +++ b/Plugins/Input/console/Audacious_Driver.cpp Tue Jan 24 21:47:40 2006 -0800 @@ -637,7 +637,7 @@ static int get_time(void) { - return console_ip_is_going ? track_emu.tell() : -1; + return console_ip_is_going ? (track_emu.tell() - 3000 >= 0 ? track_emu.tell() - 3000 : 0) : -1; } // Setup