Changeset 721:b659b2ed4ced in roaraudio for plugins/xmms


Ignore:
Timestamp:
08/31/08 00:53:10 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

maybe this helps agains device blocked messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/xmms/roar.c

    r720 r721  
    180180 g_inst.bps       = nch * rate * bits / 8; 
    181181 
     182 roar_close(); 
     183 
    182184 if ( (g_inst.data_fh = roar_simple_new_stream_obj(&(g_inst.con), &(g_inst.stream), 
    183185                              rate, nch, bits, codec, ROAR_DIR_PLAY)) == -1) { 
     
    198200 
    199201void roar_close(void) { 
    200  close(g_inst.data_fh); 
     202 if ( g_inst.data_fh != -1 ) 
     203  close(g_inst.data_fh); 
    201204 g_inst.data_fh = -1; 
    202205 g_inst.state |= STATE_PLAYING; 
Note: See TracChangeset for help on using the changeset viewer.