Changeset 1573:7c378b33f20f in roaraudio for libroarsndio/libroarsndio.c
- Timestamp:
- 04/13/09 02:05:00 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarsndio/libroarsndio.c
r1571 r1573 45 45 memset(hdl, 0, sizeof(struct sio_hdl)); 46 46 47 if ( roar_simple_connect(&(hdl->con), name, "libroarsndio") == -1 ) { 48 free(hdl); 49 return NULL; 50 } 51 47 52 sio_initpar(&(hdl->para)); 48 53 … … 61 66 if ( hdl->fh == -1 ) 62 67 close(hdl->fh); 68 69 roar_disconnect(&(hdl->con)); 63 70 64 71 free(hdl);
Note: See TracChangeset
for help on using the changeset viewer.