Changeset 5162:85c55ccd12a9 in roaraudio for roard/driver_roar.c


Ignore:
Timestamp:
10/16/11 20:12:40 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_roar.c

    r5056 r5162  
    4848 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 
    4949  if ( streams_get_flag(ROAR_STREAM(sstream)->id, ROAR_FLAG_AUTOCONF) ) { 
    50    roar_profile2info(info, "default"); 
     50   if ( roar_profile2info(info, "default") == -1 ) 
     51    return -1; 
     52 
    5153   if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 
    5254    return -1; 
Note: See TracChangeset for help on using the changeset viewer.