Changeset 2655:b4eb068bb586 in roaraudio
- Timestamp:
- 09/12/09 14:15:04 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/simple.c
r2647 r2655 325 325 326 326 int roar_simple_play(int rate, int channels, int bits, int codec, char * server, char * name) { 327 roar_debug_warn_sysio("roar_simple_play", "roar_vio_simple_stream", NULL); 328 327 329 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_PLAY, name); 328 330 } 329 331 330 332 int roar_simple_monitor(int rate, int channels, int bits, int codec, char * server, char * name) { 333 roar_debug_warn_sysio("roar_simple_monitor", "roar_vio_simple_stream", NULL); 334 331 335 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_MONITOR, name); 332 336 } 333 337 334 338 int roar_simple_record(int rate, int channels, int bits, int codec, char * server, char * name) { 339 roar_debug_warn_sysio("roar_simple_record", "roar_vio_simple_stream", NULL); 340 335 341 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_RECORD, name); 336 342 } 337 343 338 344 int roar_simple_filter(int rate, int channels, int bits, int codec, char * server, char * name) { 345 roar_debug_warn_sysio("roar_simple_filter", "roar_vio_simple_stream", NULL); 346 339 347 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_FILTER, name); 340 348 } … … 345 353 346 354 int roar_simple_close(int fh) { 355 roar_debug_warn_sysio("roar_simple_close", "roar_vio_close", NULL); 356 347 357 #ifdef ROAR_TARGET_WIN32 348 358 closesocket(fh); … … 362 372 struct roar_connection con; 363 373 374 roar_debug_warn_sysio("roar_simple_get_standby", NULL, NULL); 375 364 376 if ( roar_connect_fh(&con, fh) == -1 ) 365 377 return -1;
Note: See TracChangeset
for help on using the changeset viewer.