Changeset 1830:3a678ce28438 in roaraudio
- Timestamp:
- 05/23/09 01:35:05 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_dmx.c
r1829 r1830 27 27 int driver_dmx_open_vio (struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh) { 28 28 29 if ( device == NULL) {30 return -1;31 }29 if ( fh == -1 ) { 30 if ( device == NULL ) 31 device = getenv("DMX"); 32 32 33 if ( fh == -1 ) { 33 if ( device == NULL ) 34 device = "/dev/dmx"; 35 34 36 if ( roar_vio_open_file(inst, device, O_WRONLY, 0644) == -1 ) 35 37 return -1;
Note: See TracChangeset
for help on using the changeset viewer.