Changeset 1526:9f95e23b46e0 in roaraudio for roard/driver_oss.c
- Timestamp:
- 04/12/09 00:22:24 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_oss.c
r1524 r1526 81 81 } 82 82 83 self->fh = fh; 83 self->fh = fh; 84 self->need_config = 1; 84 85 85 86 return 0; … … 268 269 int driver_oss_open(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh) { 269 270 struct driver_oss * self = NULL; 270 uint32_t tmp32;271 271 272 272 if ( (self = malloc(sizeof(struct driver_oss))) == NULL ) { … … 292 292 er(); 293 293 } 294 295 self->need_config = 1;296 297 /*298 if ( driver_oss_config_device(self) == -1 ) {299 ROAR_ERR("driver_oss_open(*): Can not configure audio device");300 er();301 }302 */303 304 tmp32 = 4;305 driver_oss_ctl(inst, ROAR_VIO_CTL_SET_DBLOCKS, &tmp32);306 294 307 295 ROAR_DBG("driver_oss_open(*): OSS devices opened :)");
Note: See TracChangeset
for help on using the changeset viewer.