Changeset 4580:435fb7a75ea4 in roaraudio for include/libroar/vs.h
- Timestamp:
- 11/03/10 05:36:42 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vs.h
r4213 r4580 68 68 */ 69 69 #define roar_vs_new_playback(s,n,r,c,e,b,error) roar_vs_new_simple((s), (n), (r), (c), (e), (b), ROAR_DIR_PLAY, (error)) 70 71 72 /* Attach a open file. 73 */ 74 75 int roar_vs_file(roar_vs_t * vss, struct roar_vio_calls * vio, int closefile, int * error); 76 77 /* Open a file and attach it. 78 */ 79 int roar_vs_file_simple(roar_vs_t * vss, char * filename, int * error); 80 81 /* Connects to a server to just play a file. 82 */ 83 roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, char * filename, int * error); 70 84 71 85 /* Boolean TRUE for VS functions */ … … 201 215 int roar_vs_role (roar_vs_t * vss, int role, int * error); 202 216 217 /* Run a single interation. 218 * This will try to read data from source, write it to the stream 219 * and flush the buffer in buffered mode. 220 * Returns -1 on error, 0 on EOF and positive true value on no error. 221 */ 222 int roar_vs_iterate (roar_vs_t * vss, int wait, int * error); 223 224 /* Iterate untill EOF or error. 225 * Very simple main loop. 226 * Returns 0 on no error and -1 on error. 227 */ 228 int roar_vs_run (roar_vs_t * vss, int * error); 229 203 230 /* Get used connection object 204 231 * This may be usefull if you want to use functions from the main API.
Note: See TracChangeset
for help on using the changeset viewer.