Changeset 5242:97239101cee9 in roaraudio for roard/driver_dmx.c
- Timestamp:
- 11/13/11 00:03:27 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_dmx.c
r4918 r5242 29 29 30 30 int driver_dmx_open_vio (struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream) { 31 struct roar_vio_defaults def; 32 33 if ( roar_vio_dstr_init_defaults(&def, ROAR_VIO_DEF_TYPE_NONE, O_WRONLY, 0644) == -1 ) 34 return -1; 31 35 32 36 if ( fh == -1 ) { … … 37 41 device = "/dev/dmx"; 38 42 39 if ( roar_vio_open_ file(inst, device, O_WRONLY, 0644) == -1 )43 if ( roar_vio_open_dstr(inst, device, &def, 1) == -1 ) 40 44 return -1; 41 45 } else {
Note: See TracChangeset
for help on using the changeset viewer.