Changeset 2841:29c0a0293758 in roaraudio for libroar/vio.c


Ignore:
Timestamp:
10/03/09 18:11:33 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_vio_simple_new_stream_obj()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r2060 r2841  
    255255} 
    256256 
     257int     roar_vio_simple_new_stream_obj (struct roar_vio_calls * calls, 
     258                                        struct roar_connection * con, 
     259                                        struct roar_stream * s, 
     260                                        int rate, int channels, int bits, int codec, int dir) { 
     261 int fh; 
     262 
     263 if ( calls == NULL ) 
     264  return -1; 
     265 
     266 if ( (fh = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, dir)) == -1 ) 
     267  return -1; 
     268 
     269 return roar_vio_open_fh_socket(calls, fh); 
     270} 
     271 
    257272// VIOs: 
    258273 
Note: See TracChangeset for help on using the changeset viewer.