- Timestamp:
- Sep 5, 2015, 11:41:36 AM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 70ba6dd
- Parents:
- 39c4721
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r39c4721 rcc81763 79 79 help_str = 'use Accelerate framework (darwin only) (auto)', 80 80 help_disable_str = 'do not use Accelerate framework') 81 add_option_enable_disable(ctx, 'apple-audio', default = None, 82 help_str = 'use CoreFoundation (darwin only) (auto)', 83 help_disable_str = 'do not use CoreFoundation framework') 81 84 82 85 ctx.add_option('--with-target-platform', type='string', … … 114 117 115 118 if target_platform in [ 'darwin', 'ios', 'iosimulator']: 116 ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox'] 117 ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) 118 ctx.define('HAVE_SINK_APPLE_AUDIO', 1) 119 if (ctx.options.enable_apple_audio != False): 120 ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox'] 121 ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1) 122 ctx.define('HAVE_SINK_APPLE_AUDIO', 1) 119 123 if (ctx.options.enable_accelerate != False): 120 124 ctx.define('HAVE_ACCELERATE', 1) … … 122 126 123 127 if target_platform in [ 'ios', 'iosimulator' ]: 124 ctx.define('TARGET_OS_IPHONE', 1)125 128 MINSDKVER="6.1" 126 129 ctx.env.CFLAGS += ['-std=c99'] 130 if (ctx.options.enable_audio_unit != False): 131 ctx.define('HAVE_AUDIO_UNIT', 1) 132 #ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox'] 127 133 if target_platform == 'ios': 128 134 DEVROOT = "/Applications/Xcode.app/Contents"
Note: See TracChangeset
for help on using the changeset viewer.