Changeset 2841:29c0a0293758 in roaraudio
- Timestamp:
- 10/03/09 18:11:33 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio.h
r2060 r2841 37 37 38 38 #include "libroar.h" 39 40 struct roar_connection; 39 41 40 42 // sys io: … … 81 83 int roar_vio_simple_stream (struct roar_vio_calls * calls, int rate, int channels, int bits, int codec, 82 84 char * server, int dir, char * name); 85 86 int roar_vio_simple_new_stream_obj (struct roar_vio_calls * calls, 87 struct roar_connection * con, 88 struct roar_stream * s, 89 int rate, int channels, int bits, int codec, int dir); 83 90 84 91 // possible VIOs: -
libroar/vio.c
r2060 r2841 255 255 } 256 256 257 int 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 257 272 // VIOs: 258 273
Note: See TracChangeset
for help on using the changeset viewer.