comparison Plugins/Input/console/Audacious_Driver.cpp @ 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
comparison
equal deleted inserted replaced
495:a371216b5c8a 496:e52d8e22e718
635 console_ip.output->pause(p); 635 console_ip.output->pause(p);
636 } 636 }
637 637
638 static int get_time(void) 638 static int get_time(void)
639 { 639 {
640 return console_ip_is_going ? track_emu.tell() : -1; 640 return console_ip_is_going ? (track_emu.tell() - 3000 >= 0 ? track_emu.tell() - 3000 : 0) : -1;
641 } 641 }
642 642
643 // Setup 643 // Setup
644 644
645 static void console_init(void) 645 static void console_init(void)