Skip to content

Instantly share code, notes, and snippets.

@michaeltyson
Created June 13, 2016 03:55
Show Gist options
  • Save michaeltyson/d23df148dffd35ae0adf713f3f6e5d7a to your computer and use it in GitHub Desktop.
Save michaeltyson/d23df148dffd35ae0adf713f3f6e5d7a to your computer and use it in GitHub Desktop.
TheAmazingAudioEngine.podspec
Pod::Spec.new do |s|
s.name = "TheAmazingAudioEngine"
s.version = "1.5.7"
s.summary = "Core Audio, Cordially: A sophisticated framework for iOS audio applications, built so you don't have to."
s.homepage = "http://theamazingaudioengine.com"
s.license = 'zlib'
s.author = { "Michael Tyson" => "michael@atastypixel.com" }
s.source = { :git => "https://github.com/TheAmazingAudioEngine/TheAmazingAudioEngine.git", :tag => "1.5.7" }
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'
s.source_files = 'TheAmazingAudioEngine/**/*.{h,m,c}', 'Modules/**/*.{h,m,c}'
s.exclude_files = 'Modules/TPCircularBuffer', 'TheAmazingAudioEngine/AERealtimeWatchdog*'
s.osx.exclude_files = 'Modules/Filters/AEReverbFilter.*'
s.compiler_flags = '-DTPCircularBuffer=AECB',
'-D_TPCircularBufferInit=_AECBInit',
'-DTPCircularBufferCleanup=AECBClean',
'-DTPCircularBufferClear=AECBClear',
'-DTPCircularBufferSetAtomic=AECBSetAtomic',
'-DTPCircularBufferTail=AECBTail',
'-DTPCircularBufferConsume=AECBConsume',
'-DTPCircularBufferHead=AECBHead',
'-DTPCircularBufferProduce=AECBProduce',
'-DTPCircularBufferProduceBytes=AECBProduceBytes',
'-DTPCircularBufferPrepareEmptyAudioBufferList=AECBPrepareEmptyBL',
'-DTPCircularBufferPrepareEmptyAudioBufferListWithAudioFormat=AECBPrepareEmptyBLWithAF',
'-DTPCircularBufferProduceAudioBufferList=AECBProduceBL',
'-DTPCircularBufferCopyAudioBufferList=AECBCopyBL',
'-DTPCircularBufferNextBufferList=AECBNextBL',
'-DTPCircularBufferNextBufferListAfter=AECBNextBLAfter',
'-DTPCircularBufferConsumeNextBufferList=AECBConsumeBL',
'-DTPCircularBufferGetAvailableSpace=AECBGetAvailableSpace',
'-DTPCircularBufferConsumeNextBufferListPartial=AECBConsumeBLPartial',
'-DTPCircularBufferDequeueBufferListFrames=AECBDequeueBLFrames',
'-DTPCircularBufferPeek=AECBPeek',
'-DTPCircularBufferPeekContiguous=AECBPeekContiguous',
'-D_TPCircularBufferPeek=_AECBPeek'
s.frameworks = 'AudioToolbox', 'Accelerate'
s.requires_arc = true
s.subspec 'realtimewatchdog' do |rds|
rds.source_files = 'TheAmazingAudioEngine/AERealtimeWatchdog*'
rds.requires_arc = false
rds.compiler_flags = '-fno-modules'
rds.pod_target_xcconfig = { 'OTHER_CFLAGS' => '-fno-modules' }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment