Changeset 4130:3b5e874fd9ac in roaraudio


Ignore:
Timestamp:
08/09/10 01:40:44 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some rsound cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/emul_rsound.c

    r3921 r4130  
    193193  return -1; 
    194194 
    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); 
    196196 
    197197 ret = roar_vio_write(vio, msg->header, EMUL_RSOUND_MSG_HEADER_LEN); 
     
    282282  msg.datalen = 12; //strlen(" CLOSECTL OK"); 
    283283 
    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); 
    287286 
    288287  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); 
    292291 
    293292  return 0; 
Note: See TracChangeset for help on using the changeset viewer.