Changeset 3623:20fccd6c8d90 in roaraudio for plugins/xmms


Ignore:
Timestamp:
03/02/10 21:39:35 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

give the server 10 extra ms, maybe that makes the plugin more stable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/xmms/roar.c

    r3622 r3623  
    178178 g_inst.state -= STATE_PLAYING; 
    179179 
    180  if ( was_playing ) 
     180 if ( was_playing ) { 
    181181  roar_vio_close(&(g_inst.vio)); 
     182  usleep(10000); // give the server 10ms of extra time 
     183 } 
    182184 
    183185 g_inst.written = 0; 
Note: See TracChangeset for help on using the changeset viewer.