Changeset 4130:3b5e874fd9ac in roaraudio for roard/emul_rsound.c
- Timestamp:
- 08/09/10 01:40:44 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/emul_rsound.c
r3921 r4130 193 193 return -1; 194 194 195 snprintf(msg->header, EMUL_RSOUND_MSG_HEADER_LEN+1, "RSD%5d", msg->datalen);195 snprintf(msg->header, EMUL_RSOUND_MSG_HEADER_LEN+1, "RSD%5d", (int)msg->datalen); 196 196 197 197 ret = roar_vio_write(vio, msg->header, EMUL_RSOUND_MSG_HEADER_LEN); … … 282 282 msg.datalen = 12; //strlen(" CLOSECTL OK"); 283 283 284 if ( emul_rsound_vsend_msg(&msg, vio) == -1 ) { 285 return clients_delete(client); 286 } 284 if ( emul_rsound_vsend_msg(&msg, vio) == -1 ) 285 return clients_delete(client); 287 286 288 287 streamid = c->streams[0]; 289 if ( client_stream_exec(client, streamid) == -1 ) { 290 return clients_delete(client);291 }288 289 if ( client_stream_exec(client, streamid) == -1 ) 290 return clients_delete(client); 292 291 293 292 return 0;
Note: See TracChangeset
for help on using the changeset viewer.