Changeset 2364:4d2d1aa717b1 in roaraudio
- Timestamp:
- 08/15/09 02:10:09 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver.c
r2363 r2364 140 140 int driver_openvio(struct roar_vio_calls * calls, 141 141 int * driver_id, char * driver /* NOTE: this is not part of struct roar_driver's def! */, 142 char * device, struct roar_audio_info * info, int fh) { 142 char * device, struct roar_audio_info * info, int fh, 143 struct roar_stream_server * sstream) { 143 144 int i; 144 145 -
roard/include/driver.h
r2345 r2364 117 117 int driver_openvio(struct roar_vio_calls * calls, 118 118 int * driver_id, char * driver /* NOTE: this is not part of struct roar_driver's def! */, 119 char * device, struct roar_audio_info * info, int fh); 119 char * device, struct roar_audio_info * info, int fh, 120 struct roar_stream_server * sstream); 120 121 121 122 int driver_close(DRIVER_USERDATA_T inst, int driver); -
roard/roard.c
r2340 r2364 439 439 ROAR_STREAM_SERVER(s)->codec_orgi = codec; 440 440 441 if ( driver_openvio(&(ss->vio), &(ss->driver_id), drv, dev, &(s->info), -1 ) == -1 ) {441 if ( driver_openvio(&(ss->vio), &(ss->driver_id), drv, dev, &(s->info), -1, ss) == -1 ) { 442 442 ss->driver_id = -1; // don't close a driver not opened... 443 443 memset(&(ss->vio), 0, sizeof(struct roar_vio_calls));
Note: See TracChangeset
for help on using the changeset viewer.