Changeset 1290:a2d5f830e560 in roaraudio
- Timestamp:
- 03/12/09 02:02:37 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio.h
r1284 r1290 99 99 int roar_vio_open_file (struct roar_vio_calls * calls, char * filename, int flags, mode_t mode); 100 100 int roar_vio_open_fh (struct roar_vio_calls * calls, int fh); 101 int roar_vio_open_fh_socket(struct roar_vio_calls * calls, int fh); 101 102 102 103 int roar_vio_simple_stream (struct roar_vio_calls * calls, int rate, int channels, int bits, int codec, -
libroar/vio.c
r1284 r1290 176 176 } 177 177 178 int roar_vio_open_fh_socket(struct roar_vio_calls * calls, int fh) { 179 if ( calls == NULL ) 180 return -1; 181 182 return roar_vio_open_fh(calls, fh); 183 } 184 178 185 int roar_vio_simple_stream (struct roar_vio_calls * calls, int rate, int channels, int bits, int codec, 179 186 char * server, int dir, char * name) { … … 186 193 return -1; 187 194 188 return roar_vio_open_fh (calls, fh);195 return roar_vio_open_fh_socket(calls, fh); 189 196 } 190 197
Note: See TracChangeset
for help on using the changeset viewer.