Changeset 5242:97239101cee9 in roaraudio for roard/driver_dmx.c


Ignore:
Timestamp:
11/13/11 00:03:27 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some roard compiler warnings cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_dmx.c

    r4918 r5242  
    2929 
    3030int 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; 
    3135 
    3236 if ( fh == -1 ) { 
     
    3741   device = "/dev/dmx"; 
    3842 
    39   if ( roar_vio_open_file(inst, device, O_WRONLY, 0644) == -1 ) 
     43  if ( roar_vio_open_dstr(inst, device, &def, 1) == -1 ) 
    4044   return -1; 
    4145 } else { 
Note: See TracChangeset for help on using the changeset viewer.