Changeset 2574:ec7d9af6f76b in roaraudio for libroarsndio/libroarsndio.c
- Timestamp:
- 09/06/09 00:32:20 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarsndio/libroarsndio.c
r2515 r2574 83 83 } 84 84 85 struct sio_hdl * sio_open(c har * name, unsigned mode, int nbio_flag) {85 struct sio_hdl * sio_open(const char * name, unsigned mode, int nbio_flag) { 86 86 struct sio_hdl * hdl = NULL; 87 87 int is_midi = 0; … … 124 124 } 125 125 126 name = sndio_to_roar_names( name);126 name = sndio_to_roar_names((char*) name); 127 127 128 if ( roar_simple_connect(&(hdl->con), name, "libroarsndio") == -1 ) {128 if ( roar_simple_connect(&(hdl->con), (char*) name, "libroarsndio") == -1 ) { 129 129 free(hdl); 130 130 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.