Changeset 721:b659b2ed4ced in roaraudio for plugins/xmms
- Timestamp:
- 08/31/08 00:53:10 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/xmms/roar.c
r720 r721 180 180 g_inst.bps = nch * rate * bits / 8; 181 181 182 roar_close(); 183 182 184 if ( (g_inst.data_fh = roar_simple_new_stream_obj(&(g_inst.con), &(g_inst.stream), 183 185 rate, nch, bits, codec, ROAR_DIR_PLAY)) == -1) { … … 198 200 199 201 void roar_close(void) { 200 close(g_inst.data_fh); 202 if ( g_inst.data_fh != -1 ) 203 close(g_inst.data_fh); 201 204 g_inst.data_fh = -1; 202 205 g_inst.state |= STATE_PLAYING;
Note: See TracChangeset
for help on using the changeset viewer.