Changeset 5056:b31e60545552 in roaraudio for roard/driver_roar.c


Ignore:
Timestamp:
06/02/11 23:13:11 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support auto reconf bits=32->16 in case not supported (See: #48)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_roar.c

    r4708 r5056  
    4747 
    4848 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 
     49  if ( streams_get_flag(ROAR_STREAM(sstream)->id, ROAR_FLAG_AUTOCONF) ) { 
     50   roar_profile2info(info, "default"); 
     51   if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 
     52    return -1; 
     53   } 
     54  } 
    4955  return -1; 
    5056 } 
Note: See TracChangeset for help on using the changeset viewer.