Changeset 2115

Show
Ignore:
Timestamp:
04/03/12 01:36:58 (12 years ago)
Author:
adi
Message:

Introduce ENABLE_SETBUFFERSIZE_API_VER=force

We now have:

  • false: use API_VER 8
  • auto: use API_VER 8 or 9 depending on the installed jackd version

or API_VER 9 if no jackd is installed

  • true: use API_VER 9, but abort if detected jackd is too old
  • force: use API_VER 9
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r2114 r2115  
    7878    BoolVariable( "PEDANTIC", "Enable -Werror and more pedantic options during compile.", False ), 
    7979    ( "COMPILE_FLAGS", "Add additional flags to the environment.\nOnly meant for distributors and gentoo-users who want to over-optimize their built.\n Using this is not supported by the ffado-devs!" ), 
    80     EnumVariable( "ENABLE_SETBUFFERSIZE_API_VER", "Report API version at runtime which includes support for dynamic buffer resizing (requires recent jack).", 'auto', allowed_values=('auto', 'true', 'false'), ignorecase=2), 
     80    EnumVariable( "ENABLE_SETBUFFERSIZE_API_VER", "Report API version at runtime which includes support for dynamic buffer resizing (requires recent jack).", 'auto', allowed_values=('auto', 'true', 'false', 'force'), ignorecase=2), 
    8181 
    8282    ) 
     
    263263        else: 
    264264            print "Will report SetBufferSize API version at runtime" 
     265    elif env['ENABLE_SETBUFFERSIZE_API_VER'] == 'force': 
     266        print "Will report SetBufferSize API version at runtime" 
    265267    else: 
    266268        FFADO_API_VERSION="8"