Changeset 2358:1a38bdcc3e4d in roaraudio
- Timestamp:
- 08/14/09 22:18:31 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarsndio/stream.c
r2051 r2358 49 49 50 50 #ifndef ROAR_TARGET_WIN32 51 if ( (fh = roar_simple_new_stream_obj(&(hdl->con), &(hdl->stream), _i(rate), _i(channels), _i(bits), _i(codec), ROAR_DIR_PLAY)) == -1 )51 if ( (fh = roar_simple_new_stream_obj(&(hdl->con), &(hdl->stream), _i(rate), _i(channels), _i(bits), _i(codec), hdl->dir)) == -1 ) 52 52 return 0; 53 53 … … 62 62 return 0; 63 63 64 if (roar_vio_simple_stream(&(hdl->svio), _i(rate), _i(channels), _i(bits), _i(codec), NULL, ROAR_DIR_PLAY, "libroarsndio(win32)") == -1 ) {64 if (roar_vio_simple_stream(&(hdl->svio), _i(rate), _i(channels), _i(bits), _i(codec), NULL, hdl->dir, "libroarsndio(win32)") == -1 ) { 65 65 return 0; 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.