Changeset 5118:2b5777714b0d in roaraudio for libroar/simple.c


Ignore:
Timestamp:
08/01/11 03:27:44 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r5114 r5118  
    7070} 
    7171 
    72 int roar_simple_stream_obj  (struct roar_stream * s, int rate, int channels, int bits, int codec, const char * server, int dir, char * name) { 
     72int roar_simple_stream_obj  (struct roar_stream * s, int rate, int channels, int bits, int codec, const char * server, int dir, const char * name) { 
    7373 struct roar_connection con; 
    7474 int ret; 
     
    8787 } 
    8888 
    89  if ( roar_stream_connect(&con, s, dir) == -1 ) { 
     89 if ( roar_stream_connect2(&con, s, dir, -1) == -1 ) { 
    9090  roar_disconnect(&con); 
    9191  return -1; 
     
    266266 } 
    267267 
    268  if ( roar_stream_connect(con, s, dir) == -1 ) { 
     268 if ( roar_stream_connect2(con, s, dir, -1) == -1 ) { 
    269269  return -1; 
    270270 } 
Note: See TracChangeset for help on using the changeset viewer.