source: roaraudio/include/libroar/simple.h @ 119:8669a32c3bdd

Last change on this file since 119:8669a32c3bdd was 119:8669a32c3bdd, checked in by phi, 16 years ago

added a way to get the roar_stream object when using roar_simple_new_stream*()

File size: 1019 bytes
Line 
1//libroar.h:
2
3#ifndef _LIBROARSIMPLE_H_
4#define _LIBROARSIMPLE_H_
5
6#include "libroar.h"
7
8int roar_simple_connect (struct roar_connection * con, char * server, char * name);
9
10int roar_simple_stream  (int rate, int channels, int bits, int codec, char * server, int dir, char * name);
11
12int roar_simple_new_stream (struct roar_connection * con, int rate, int channels, int bits, int codec, int dir);
13int roar_simple_new_stream_obj (struct roar_connection * con, struct roar_stream * s, int rate, int channels, int bits, int
14codec, int dir);
15
16int roar_simple_play    (int rate, int channels, int bits, int codec, char * server, char * name);
17int roar_simple_monitor (int rate, int channels, int bits, int codec, char * server, char * name);
18int roar_simple_record  (int rate, int channels, int bits, int codec, char * server, char * name);
19int roar_simple_filter  (int rate, int channels, int bits, int codec, char * server, char * name);
20
21int roar_simple_close(int fh);
22
23int roar_simple_get_standby (int fh);
24
25#endif
26
27//ll
Note: See TracBrowser for help on using the repository browser.