Changeset 2588:1b7ef61d7dd2 in roaraudio
- Timestamp:
- 09/08/09 18:42:58 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/stream.h
r2411 r2588 103 103 int roar_stream_get_fh (struct roar_stream * s); 104 104 105 int roar_stream_set_dir (struct roar_stream * s, int dir); 106 int roar_stream_get_dir (struct roar_stream * s); 105 107 106 108 int roar_stream_exec (struct roar_connection * con, struct roar_stream * s); -
libroar/stream.c
r2338 r2588 158 158 } 159 159 160 int roar_stream_set_dir (struct roar_stream * s, int dir) { 161 if ( s == NULL ) 162 return -1; 163 164 s->dir = dir; 165 166 return 0; 167 } 168 169 int roar_stream_get_dir (struct roar_stream * s) { 170 if ( s == NULL ) 171 return -1; 172 173 return s->dir; 174 } 175 160 176 161 177 int roar_stream_exec (struct roar_connection * con, struct roar_stream * s) {
Note: See TracChangeset
for help on using the changeset viewer.