[Pkg-audacious-maintainers] Bug#517692: audacious: problems seeking when paused

john.lindgren at tds.net john.lindgren at tds.net
Sun Mar 1 22:26:17 UTC 2009


playback.c, lines 450-470:

  ------

    /* FIXME WORKAROUND...that should work with all plugins
     * mute the volume, start playback again, do the seek, then pause again
     * -Patrick Sudowe 
     */
    if (ip_data.paused)
    {
        restore_pause = TRUE;
        output_get_volume(&l, &r);
        output_set_volume(0,0);
        playback_pause();
    }
    
    plugin_set_current((Plugin *)(playback->plugin));
    playback->plugin->seek(playback, time);
    playback->set_pb_change(playback);
    
    if (restore_pause)
    {
        playback_pause();
        output_set_volume(l, r);
    }

  ------

John





More information about the Pkg-audacious-maintainers mailing list