Changeset 924:7f4183d013fa in roaraudio for roard
- Timestamp:
- 12/07/08 12:35:54 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver.c
r919 r924 33 33 { "raw", "RAW PCM driver", "/some/file", driver_raw_open, driver_raw_close, driver_roar_pause, driver_raw_write, driver_raw_read, driver_raw_flush, NULL}, 34 34 #if defined(ROAR_HAVE_OSS_BSD) || defined(ROAR_HAVE_OSS) 35 #ifndef ROAR_DEFAULT_OSS_DEV 36 #define ROAR_DEFAULT_OSS_DEV "no default device" 37 #endif 35 38 { "oss", "Open Sound System", ROAR_DEFAULT_OSS_DEV, NULL, driver_oss_close, NULL, NULL, NULL, NULL, driver_oss_open}, 36 39 #endif -
roard/driver_oss.c
r919 r924 32 32 int fh; 33 33 34 #ifdef ROAR_DEFAULT_OSS_DEV 34 35 if ( device == NULL ) 35 36 device = ROAR_DEFAULT_OSS_DEV; 37 #endif 38 39 if ( device == NULL ) { 40 ROAR_ERR("driver_oss_open(*): no default device found, you need to specify one manuelly"); 41 return -1; 42 } 36 43 37 44 roar_vio_init_calls(inst);
Note: See TracChangeset
for help on using the changeset viewer.