Changeset 3145:6a7eda75a836 in roaraudio for libroaross/libroaross.c
- Timestamp:
- 01/15/10 13:18:15 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaross/libroaross.c
r3144 r3145 275 275 276 276 handle->type = ptr->type; 277 278 switch (flags & (O_RDONLY|O_WRONLY|O_RDWR)) { 279 case O_RDONLY: 280 handle->stream_dir = ROAR_DIR_MONITOR; 281 break; 282 case O_WRONLY: 283 handle->stream_dir = ROAR_DIR_PLAY; 284 break; 285 case O_RDWR: 286 handle->stream_dir = ROAR_DIR_BIDIR; 287 break; 288 } 277 289 278 290 if ( (pointer = _open_pointer(handle)) == NULL ) {
Note: See TracChangeset
for help on using the changeset viewer.