├── Keynote
└── 20151212yidev.key
├── AudioUnitV3Sample
├── AudioUnitV3Sample
│ ├── EffectSampleBeat.m4a
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Info.plist
│ ├── Base.lproj
│ │ └── LaunchScreen.storyboard
│ ├── AudioUnitSampleCommon.swift
│ ├── AppDelegate.swift
│ ├── GeneratorViewController.swift
│ ├── AudioUnitGeneratorSample.swift
│ ├── EffectViewController.swift
│ ├── AudioUnitEffectSample.swift
│ └── Main.storyboard
├── AudioUnitV3Sample.xcodeproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── project.pbxproj
├── AudioUnitV3SampleTests
│ ├── Info.plist
│ └── AudioUnitV3SampleTests.swift
└── AudioUnitV3SampleUITests
│ ├── Info.plist
│ └── AudioUnitV3SampleUITests.swift
├── .gitignore
└── LICENSE
/Keynote/20151212yidev.key:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/objective-audio/au_v3_sample/HEAD/Keynote/20151212yidev.key
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/EffectSampleBeat.m4a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/objective-audio/au_v3_sample/HEAD/AudioUnitV3Sample/AudioUnitV3Sample/EffectSampleBeat.m4a
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | # Pods/
27 |
28 | # Carthage
29 | #
30 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
31 | # Carthage/Checkouts
32 |
33 | Carthage/Build
34 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3SampleTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3SampleUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Yuki Yasoshima
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3SampleTests/AudioUnitV3SampleTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AudioUnitV3SampleTests.swift
3 | // AudioUnitV3SampleTests
4 | //
5 | // Created by 八十嶋祐樹 on 2015/12/04.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import AudioUnitV3Sample
11 |
12 | class AudioUnitV3SampleTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3SampleUITests/AudioUnitV3SampleUITests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AudioUnitV3SampleUITests.swift
3 | // AudioUnitV3SampleUITests
4 | //
5 | // Created by 八十嶋祐樹 on 2015/12/04.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import XCTest
10 |
11 | class AudioUnitV3SampleUITests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 |
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 |
18 | // In UI tests it is usually best to stop immediately when a failure occurs.
19 | continueAfterFailure = false
20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21 | XCUIApplication().launch()
22 |
23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24 | }
25 |
26 | override func tearDown() {
27 | // Put teardown code here. This method is called after the invocation of each test method in the class.
28 | super.tearDown()
29 | }
30 |
31 | func testExample() {
32 | // Use recording to get started writing UI tests.
33 | // Use XCTAssert and related functions to verify your tests produce the correct results.
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/AudioUnitSampleCommon.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AudioUnitSampleCommon.swift
3 | // AudioUnitV3Sample
4 | //
5 | // Created by 八十嶋祐樹 on 2015/11/29.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import AVFoundation
10 | import Accelerate
11 |
12 | func hfsTypeCode(_ fileTypeString: String) -> OSType
13 | {
14 | var result: OSType = 0
15 | var i: UInt32 = 0
16 |
17 | for uc in fileTypeString.unicodeScalars {
18 | result |= OSType(uc) << ((3 - i) * 8)
19 | i += 1
20 | }
21 |
22 | return result;
23 | }
24 |
25 | func fillSine(_ out_data: UnsafeMutablePointer, length: AVAudioFrameCount, startPhase: Float64, phasePerFrame: Float64) -> Float64
26 | {
27 | if (length == 0) {
28 | return startPhase;
29 | }
30 |
31 | var phase: Float64 = startPhase;
32 |
33 | for i in 0.. Void
45 |
46 | class Atomic {
47 | init(val: T) {
48 | self._value = val
49 | }
50 |
51 | var value: T {
52 | get {
53 | objc_sync_enter(self)
54 | let result = _value
55 | objc_sync_exit(self)
56 | return result
57 | }
58 | set {
59 | objc_sync_enter(self)
60 | _value = newValue
61 | objc_sync_exit(self)
62 | }
63 | }
64 |
65 | private var _value: T
66 | }
67 |
68 | class AudioUnitSampleKernel {
69 | var buffer = Atomic(val: nil)
70 | var renderBlock = Atomic(val: nil)
71 | }
72 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // AudioUnitV3Sample
4 | //
5 | // Created by 八十嶋祐樹 on 2015/12/04.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | private func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18 | return true
19 | }
20 |
21 | func applicationWillResignActive(_ application: UIApplication) {
22 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
23 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
24 | }
25 |
26 | func applicationDidEnterBackground(_ application: UIApplication) {
27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
29 | }
30 |
31 | func applicationWillEnterForeground(_ application: UIApplication) {
32 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
33 | }
34 |
35 | func applicationDidBecomeActive(_ application: UIApplication) {
36 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
37 | }
38 |
39 | func applicationWillTerminate(_ application: UIApplication) {
40 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
41 | }
42 |
43 |
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/GeneratorViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // AudioUnitV3Sample
4 | //
5 | // Created by 八十嶋祐樹 on 2015/11/23.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import AVFoundation
11 |
12 | class GeneratorViewController: UIViewController {
13 | var audioEngine: AVAudioEngine?
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 |
18 | setupGeneratorAudioUnit()
19 | }
20 |
21 | func setupGeneratorAudioUnit() {
22 | do {
23 | try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback)
24 | } catch {
25 | print(error)
26 | return
27 | }
28 |
29 | // エンジンの生成
30 | let engine = AVAudioEngine()
31 | self.audioEngine = engine
32 |
33 | AudioUnitGeneratorSample.registerSubclassOnce
34 |
35 | // AVAudioUnitをインスタンス化する。生成処理が終わるとcompletionHandlerが呼ばれる
36 | AVAudioUnit.instantiate(with: AudioUnitGeneratorSample.audioComponentDescription, options: AudioComponentInstantiationOptions(rawValue: 0)) { (audioUnitNode: AVAudioUnit?, err: Error?) -> Void in
37 | guard let audioUnitNode = audioUnitNode else {
38 | if let err = err {
39 | print(err)
40 | }
41 | return
42 | }
43 |
44 | // Generatorの処理。サイン波を鳴らす
45 | let generatorUnit = audioUnitNode.auAudioUnit as! AudioUnitGeneratorSample
46 |
47 | var phase: Float64 = 0.0
48 |
49 | generatorUnit.kernelRenderBlock = { buffer in
50 | // このブロックの中はオーディオのスレッドから呼ばれる
51 | let format = buffer.format
52 | let currentPhase: Float64 = phase
53 | let phasePerFrame: Float64 = 1000.0 / format.sampleRate * 2.0 * Double.pi;
54 | for ch in 0.. Bool {
109 | // バスが接続されると呼ばれる。対応不可能なフォーマットならfalseを返す
110 | return true
111 | }
112 |
113 | override func allocateRenderResources() throws {
114 | do {
115 | // super呼び出し必須
116 | try super.allocateRenderResources()
117 | } catch {
118 | throw error
119 | }
120 |
121 | // バスのフォーマットに応じてKernelにバッファを作成する
122 | let bus = self.outputBusses[0]
123 | _kernel.buffer.value = AVAudioPCMBuffer(pcmFormat: bus.format, frameCapacity: self.maximumFramesToRender)
124 | }
125 |
126 | override func deallocateRenderResources() {
127 | // Kernelからバッファを解放
128 | _kernel.buffer.value = nil
129 | }
130 |
131 | // MARK: - Accessor
132 |
133 | var kernelRenderBlock: KernelRenderBlock? {
134 | get {
135 | return _kernel.renderBlock.value
136 | }
137 | set {
138 | _kernel.renderBlock.value = newValue
139 | }
140 | }
141 | }
142 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/EffectViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // EffectViewController.swift
3 | // AudioUnitV3Sample
4 | //
5 | // Created by 八十嶋祐樹 on 2015/11/29.
6 | // Copyright © 2015年 Yuki Yasoshima. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import AVFoundation
11 | import Accelerate
12 |
13 | class EffectViewController: UIViewController {
14 | @IBOutlet weak var slider: UISlider!
15 |
16 | var audioEngine: AVAudioEngine?
17 | var delayLevel = Atomic(val: 0.0)
18 |
19 | override func viewDidLoad() {
20 | super.viewDidLoad()
21 |
22 | setupEffectAudioUnit()
23 | }
24 |
25 | @IBAction func sliderValueChanged(_ sender: UISlider) {
26 | delayLevel.value = sender.value
27 | }
28 |
29 | func setupEffectAudioUnit() {
30 | do {
31 | try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord)
32 | } catch {
33 | print(error)
34 | return
35 | }
36 |
37 | // エンジンの生成
38 | let engine = AVAudioEngine()
39 | self.audioEngine = engine
40 |
41 | let delayLevel = self.delayLevel
42 | self.slider.value = delayLevel.value
43 |
44 | AudioUnitEffectSample.registerSubclassOnce
45 |
46 | // AVAudioUnitをインスタンス化する。生成処理が終わるとcompletionHandlerが呼ばれる
47 | AVAudioUnit.instantiate(with: AudioUnitEffectSample.audioComponentDescription, options: AudioComponentInstantiationOptions(rawValue: 0)) { (audioUnitNode: AVAudioUnit?, err: Error?) in
48 | guard let audioUnitNode = audioUnitNode else {
49 | if let err = err {
50 | print(err)
51 | }
52 | return
53 | }
54 |
55 | // ノードを追加
56 | engine.attach(audioUnitNode)
57 |
58 | let sampleRate = AVAudioSession.sharedInstance().sampleRate
59 | guard let format = AVAudioFormat(standardFormatWithSampleRate: sampleRate, channels: 2) else {
60 | abort()
61 | }
62 |
63 | guard let url = Bundle.main.url(forAuxiliaryExecutable: "EffectSampleBeat.m4a") else {
64 | print("'EffectSampleBeat.m4a' not found.")
65 | return
66 | }
67 |
68 | let playerNode = AVAudioPlayerNode()
69 | engine.attach(playerNode)
70 |
71 | // 接続
72 | engine.connect(audioUnitNode, to: engine.mainMixerNode, format: format)
73 | engine.connect(playerNode, to: audioUnitNode, format: format)
74 |
75 | // エフェクトの処理(ディレイ)
76 | guard let delayBuffer = AVAudioPCMBuffer(pcmFormat: format, frameCapacity: AVAudioFrameCount(format.sampleRate) / 4) else {
77 | abort()
78 | }
79 | delayBuffer.frameLength = delayBuffer.frameCapacity
80 | var delayFrame: AVAudioFrameCount = 0
81 |
82 | let effectUnit = audioUnitNode.auAudioUnit as! AudioUnitEffectSample
83 |
84 | effectUnit.kernelRenderBlock = { buffer in
85 | // このブロックの中はオーディオのスレッドから呼ばれる
86 | let delayLevel = [delayLevel.value]
87 | let format = buffer.format
88 | var bufferFrame: AVAudioFrameCount = 0
89 |
90 | while bufferFrame < buffer.frameLength {
91 | let copyFrame = min(delayBuffer.frameLength - delayFrame, buffer.frameLength - bufferFrame)
92 |
93 | for ch in 0.. Bool {
123 | // バスが接続されると呼ばれる。対応不可能なフォーマットならfalseを返す
124 | return true
125 | }
126 |
127 | override func allocateRenderResources() throws {
128 | do {
129 | // super呼び出し必須
130 | try super.allocateRenderResources()
131 | } catch {
132 | throw error
133 | }
134 |
135 | // バスのフォーマットに応じてKernelにバッファを作成する
136 | let outputBus = self.outputBusses[0]
137 | let inputBus = self.inputBusses[0]
138 |
139 | if outputBus.format == inputBus.format {
140 | _kernel.buffer.value = AVAudioPCMBuffer(pcmFormat: outputBus.format, frameCapacity: self.maximumFramesToRender)
141 | }
142 | }
143 |
144 | override func deallocateRenderResources() {
145 | // Kernelからバッファを解放
146 | _kernel.buffer.value = nil
147 | }
148 |
149 | // MARK: - Accessor
150 |
151 | var kernelRenderBlock: KernelRenderBlock? {
152 | get {
153 | return _kernel.renderBlock.value
154 | }
155 | set {
156 | _kernel.renderBlock.value = newValue
157 | }
158 | }
159 | }
160 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | TrebuchetMS
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
--------------------------------------------------------------------------------
/AudioUnitV3Sample/AudioUnitV3Sample.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | B6A60C471F7BF32F004F2FD4 /* EffectSampleBeat.m4a in Resources */ = {isa = PBXBuildFile; fileRef = B6A60C461F7BF1A8004F2FD4 /* EffectSampleBeat.m4a */; };
11 | B6D0D8981C11240300947CC9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8971C11240300947CC9 /* AppDelegate.swift */; };
12 | B6D0D89F1C11240300947CC9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B6D0D89E1C11240300947CC9 /* Assets.xcassets */; };
13 | B6D0D8A21C11240300947CC9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B6D0D8A01C11240300947CC9 /* LaunchScreen.storyboard */; };
14 | B6D0D8AD1C11240300947CC9 /* AudioUnitV3SampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8AC1C11240300947CC9 /* AudioUnitV3SampleTests.swift */; };
15 | B6D0D8B81C11240300947CC9 /* AudioUnitV3SampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8B71C11240300947CC9 /* AudioUnitV3SampleUITests.swift */; };
16 | B6D0D8CB1C11243600947CC9 /* GeneratorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8C51C11243600947CC9 /* GeneratorViewController.swift */; };
17 | B6D0D8CC1C11243600947CC9 /* EffectViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8C61C11243600947CC9 /* EffectViewController.swift */; };
18 | B6D0D8CD1C11243600947CC9 /* AudioUnitSampleCommon.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8C71C11243600947CC9 /* AudioUnitSampleCommon.swift */; };
19 | B6D0D8CE1C11243600947CC9 /* AudioUnitGeneratorSample.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8C81C11243600947CC9 /* AudioUnitGeneratorSample.swift */; };
20 | B6D0D8CF1C11243600947CC9 /* AudioUnitEffectSample.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D0D8C91C11243600947CC9 /* AudioUnitEffectSample.swift */; };
21 | B6D0D8D01C11243600947CC9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B6D0D8CA1C11243600947CC9 /* Main.storyboard */; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXContainerItemProxy section */
25 | B6D0D8A91C11240300947CC9 /* PBXContainerItemProxy */ = {
26 | isa = PBXContainerItemProxy;
27 | containerPortal = B6D0D88C1C11240300947CC9 /* Project object */;
28 | proxyType = 1;
29 | remoteGlobalIDString = B6D0D8931C11240300947CC9;
30 | remoteInfo = AudioUnitV3Sample;
31 | };
32 | B6D0D8B41C11240300947CC9 /* PBXContainerItemProxy */ = {
33 | isa = PBXContainerItemProxy;
34 | containerPortal = B6D0D88C1C11240300947CC9 /* Project object */;
35 | proxyType = 1;
36 | remoteGlobalIDString = B6D0D8931C11240300947CC9;
37 | remoteInfo = AudioUnitV3Sample;
38 | };
39 | /* End PBXContainerItemProxy section */
40 |
41 | /* Begin PBXFileReference section */
42 | B6A60C461F7BF1A8004F2FD4 /* EffectSampleBeat.m4a */ = {isa = PBXFileReference; lastKnownFileType = file; path = EffectSampleBeat.m4a; sourceTree = ""; };
43 | B6D0D8941C11240300947CC9 /* AudioUnitV3Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AudioUnitV3Sample.app; sourceTree = BUILT_PRODUCTS_DIR; };
44 | B6D0D8971C11240300947CC9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
45 | B6D0D89E1C11240300947CC9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
46 | B6D0D8A11C11240300947CC9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
47 | B6D0D8A31C11240300947CC9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
48 | B6D0D8A81C11240300947CC9 /* AudioUnitV3SampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AudioUnitV3SampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
49 | B6D0D8AC1C11240300947CC9 /* AudioUnitV3SampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AudioUnitV3SampleTests.swift; sourceTree = ""; };
50 | B6D0D8AE1C11240300947CC9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
51 | B6D0D8B31C11240300947CC9 /* AudioUnitV3SampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AudioUnitV3SampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
52 | B6D0D8B71C11240300947CC9 /* AudioUnitV3SampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AudioUnitV3SampleUITests.swift; sourceTree = ""; };
53 | B6D0D8B91C11240300947CC9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
54 | B6D0D8C51C11243600947CC9 /* GeneratorViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratorViewController.swift; sourceTree = ""; };
55 | B6D0D8C61C11243600947CC9 /* EffectViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EffectViewController.swift; sourceTree = ""; };
56 | B6D0D8C71C11243600947CC9 /* AudioUnitSampleCommon.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AudioUnitSampleCommon.swift; sourceTree = ""; };
57 | B6D0D8C81C11243600947CC9 /* AudioUnitGeneratorSample.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AudioUnitGeneratorSample.swift; sourceTree = ""; };
58 | B6D0D8C91C11243600947CC9 /* AudioUnitEffectSample.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AudioUnitEffectSample.swift; sourceTree = ""; };
59 | B6D0D8CA1C11243600947CC9 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; };
60 | /* End PBXFileReference section */
61 |
62 | /* Begin PBXFrameworksBuildPhase section */
63 | B6D0D8911C11240300947CC9 /* Frameworks */ = {
64 | isa = PBXFrameworksBuildPhase;
65 | buildActionMask = 2147483647;
66 | files = (
67 | );
68 | runOnlyForDeploymentPostprocessing = 0;
69 | };
70 | B6D0D8A51C11240300947CC9 /* Frameworks */ = {
71 | isa = PBXFrameworksBuildPhase;
72 | buildActionMask = 2147483647;
73 | files = (
74 | );
75 | runOnlyForDeploymentPostprocessing = 0;
76 | };
77 | B6D0D8B01C11240300947CC9 /* Frameworks */ = {
78 | isa = PBXFrameworksBuildPhase;
79 | buildActionMask = 2147483647;
80 | files = (
81 | );
82 | runOnlyForDeploymentPostprocessing = 0;
83 | };
84 | /* End PBXFrameworksBuildPhase section */
85 |
86 | /* Begin PBXGroup section */
87 | B6D0D88B1C11240300947CC9 = {
88 | isa = PBXGroup;
89 | children = (
90 | B6D0D8961C11240300947CC9 /* AudioUnitV3Sample */,
91 | B6D0D8AB1C11240300947CC9 /* AudioUnitV3SampleTests */,
92 | B6D0D8B61C11240300947CC9 /* AudioUnitV3SampleUITests */,
93 | B6D0D8951C11240300947CC9 /* Products */,
94 | );
95 | sourceTree = "";
96 | };
97 | B6D0D8951C11240300947CC9 /* Products */ = {
98 | isa = PBXGroup;
99 | children = (
100 | B6D0D8941C11240300947CC9 /* AudioUnitV3Sample.app */,
101 | B6D0D8A81C11240300947CC9 /* AudioUnitV3SampleTests.xctest */,
102 | B6D0D8B31C11240300947CC9 /* AudioUnitV3SampleUITests.xctest */,
103 | );
104 | name = Products;
105 | sourceTree = "";
106 | };
107 | B6D0D8961C11240300947CC9 /* AudioUnitV3Sample */ = {
108 | isa = PBXGroup;
109 | children = (
110 | B6A60C461F7BF1A8004F2FD4 /* EffectSampleBeat.m4a */,
111 | B6D0D8971C11240300947CC9 /* AppDelegate.swift */,
112 | B6D0D8C51C11243600947CC9 /* GeneratorViewController.swift */,
113 | B6D0D8C61C11243600947CC9 /* EffectViewController.swift */,
114 | B6D0D8C71C11243600947CC9 /* AudioUnitSampleCommon.swift */,
115 | B6D0D8C81C11243600947CC9 /* AudioUnitGeneratorSample.swift */,
116 | B6D0D8C91C11243600947CC9 /* AudioUnitEffectSample.swift */,
117 | B6D0D8CA1C11243600947CC9 /* Main.storyboard */,
118 | B6D0D89E1C11240300947CC9 /* Assets.xcassets */,
119 | B6D0D8A01C11240300947CC9 /* LaunchScreen.storyboard */,
120 | B6D0D8A31C11240300947CC9 /* Info.plist */,
121 | );
122 | path = AudioUnitV3Sample;
123 | sourceTree = "";
124 | };
125 | B6D0D8AB1C11240300947CC9 /* AudioUnitV3SampleTests */ = {
126 | isa = PBXGroup;
127 | children = (
128 | B6D0D8AC1C11240300947CC9 /* AudioUnitV3SampleTests.swift */,
129 | B6D0D8AE1C11240300947CC9 /* Info.plist */,
130 | );
131 | path = AudioUnitV3SampleTests;
132 | sourceTree = "";
133 | };
134 | B6D0D8B61C11240300947CC9 /* AudioUnitV3SampleUITests */ = {
135 | isa = PBXGroup;
136 | children = (
137 | B6D0D8B71C11240300947CC9 /* AudioUnitV3SampleUITests.swift */,
138 | B6D0D8B91C11240300947CC9 /* Info.plist */,
139 | );
140 | path = AudioUnitV3SampleUITests;
141 | sourceTree = "";
142 | };
143 | /* End PBXGroup section */
144 |
145 | /* Begin PBXNativeTarget section */
146 | B6D0D8931C11240300947CC9 /* AudioUnitV3Sample */ = {
147 | isa = PBXNativeTarget;
148 | buildConfigurationList = B6D0D8BC1C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3Sample" */;
149 | buildPhases = (
150 | B6D0D8901C11240300947CC9 /* Sources */,
151 | B6D0D8911C11240300947CC9 /* Frameworks */,
152 | B6D0D8921C11240300947CC9 /* Resources */,
153 | );
154 | buildRules = (
155 | );
156 | dependencies = (
157 | );
158 | name = AudioUnitV3Sample;
159 | productName = AudioUnitV3Sample;
160 | productReference = B6D0D8941C11240300947CC9 /* AudioUnitV3Sample.app */;
161 | productType = "com.apple.product-type.application";
162 | };
163 | B6D0D8A71C11240300947CC9 /* AudioUnitV3SampleTests */ = {
164 | isa = PBXNativeTarget;
165 | buildConfigurationList = B6D0D8BF1C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3SampleTests" */;
166 | buildPhases = (
167 | B6D0D8A41C11240300947CC9 /* Sources */,
168 | B6D0D8A51C11240300947CC9 /* Frameworks */,
169 | B6D0D8A61C11240300947CC9 /* Resources */,
170 | );
171 | buildRules = (
172 | );
173 | dependencies = (
174 | B6D0D8AA1C11240300947CC9 /* PBXTargetDependency */,
175 | );
176 | name = AudioUnitV3SampleTests;
177 | productName = AudioUnitV3SampleTests;
178 | productReference = B6D0D8A81C11240300947CC9 /* AudioUnitV3SampleTests.xctest */;
179 | productType = "com.apple.product-type.bundle.unit-test";
180 | };
181 | B6D0D8B21C11240300947CC9 /* AudioUnitV3SampleUITests */ = {
182 | isa = PBXNativeTarget;
183 | buildConfigurationList = B6D0D8C21C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3SampleUITests" */;
184 | buildPhases = (
185 | B6D0D8AF1C11240300947CC9 /* Sources */,
186 | B6D0D8B01C11240300947CC9 /* Frameworks */,
187 | B6D0D8B11C11240300947CC9 /* Resources */,
188 | );
189 | buildRules = (
190 | );
191 | dependencies = (
192 | B6D0D8B51C11240300947CC9 /* PBXTargetDependency */,
193 | );
194 | name = AudioUnitV3SampleUITests;
195 | productName = AudioUnitV3SampleUITests;
196 | productReference = B6D0D8B31C11240300947CC9 /* AudioUnitV3SampleUITests.xctest */;
197 | productType = "com.apple.product-type.bundle.ui-testing";
198 | };
199 | /* End PBXNativeTarget section */
200 |
201 | /* Begin PBXProject section */
202 | B6D0D88C1C11240300947CC9 /* Project object */ = {
203 | isa = PBXProject;
204 | attributes = {
205 | LastSwiftUpdateCheck = 0710;
206 | LastUpgradeCheck = 0710;
207 | ORGANIZATIONNAME = "Yuki Yasoshima";
208 | TargetAttributes = {
209 | B6D0D8931C11240300947CC9 = {
210 | CreatedOnToolsVersion = 7.1.1;
211 | };
212 | B6D0D8A71C11240300947CC9 = {
213 | CreatedOnToolsVersion = 7.1.1;
214 | TestTargetID = B6D0D8931C11240300947CC9;
215 | };
216 | B6D0D8B21C11240300947CC9 = {
217 | CreatedOnToolsVersion = 7.1.1;
218 | TestTargetID = B6D0D8931C11240300947CC9;
219 | };
220 | };
221 | };
222 | buildConfigurationList = B6D0D88F1C11240300947CC9 /* Build configuration list for PBXProject "AudioUnitV3Sample" */;
223 | compatibilityVersion = "Xcode 3.2";
224 | developmentRegion = English;
225 | hasScannedForEncodings = 0;
226 | knownRegions = (
227 | en,
228 | Base,
229 | );
230 | mainGroup = B6D0D88B1C11240300947CC9;
231 | productRefGroup = B6D0D8951C11240300947CC9 /* Products */;
232 | projectDirPath = "";
233 | projectRoot = "";
234 | targets = (
235 | B6D0D8931C11240300947CC9 /* AudioUnitV3Sample */,
236 | B6D0D8A71C11240300947CC9 /* AudioUnitV3SampleTests */,
237 | B6D0D8B21C11240300947CC9 /* AudioUnitV3SampleUITests */,
238 | );
239 | };
240 | /* End PBXProject section */
241 |
242 | /* Begin PBXResourcesBuildPhase section */
243 | B6D0D8921C11240300947CC9 /* Resources */ = {
244 | isa = PBXResourcesBuildPhase;
245 | buildActionMask = 2147483647;
246 | files = (
247 | B6D0D8D01C11243600947CC9 /* Main.storyboard in Resources */,
248 | B6D0D8A21C11240300947CC9 /* LaunchScreen.storyboard in Resources */,
249 | B6D0D89F1C11240300947CC9 /* Assets.xcassets in Resources */,
250 | B6A60C471F7BF32F004F2FD4 /* EffectSampleBeat.m4a in Resources */,
251 | );
252 | runOnlyForDeploymentPostprocessing = 0;
253 | };
254 | B6D0D8A61C11240300947CC9 /* Resources */ = {
255 | isa = PBXResourcesBuildPhase;
256 | buildActionMask = 2147483647;
257 | files = (
258 | );
259 | runOnlyForDeploymentPostprocessing = 0;
260 | };
261 | B6D0D8B11C11240300947CC9 /* Resources */ = {
262 | isa = PBXResourcesBuildPhase;
263 | buildActionMask = 2147483647;
264 | files = (
265 | );
266 | runOnlyForDeploymentPostprocessing = 0;
267 | };
268 | /* End PBXResourcesBuildPhase section */
269 |
270 | /* Begin PBXSourcesBuildPhase section */
271 | B6D0D8901C11240300947CC9 /* Sources */ = {
272 | isa = PBXSourcesBuildPhase;
273 | buildActionMask = 2147483647;
274 | files = (
275 | B6D0D8CB1C11243600947CC9 /* GeneratorViewController.swift in Sources */,
276 | B6D0D8CF1C11243600947CC9 /* AudioUnitEffectSample.swift in Sources */,
277 | B6D0D8981C11240300947CC9 /* AppDelegate.swift in Sources */,
278 | B6D0D8CC1C11243600947CC9 /* EffectViewController.swift in Sources */,
279 | B6D0D8CE1C11243600947CC9 /* AudioUnitGeneratorSample.swift in Sources */,
280 | B6D0D8CD1C11243600947CC9 /* AudioUnitSampleCommon.swift in Sources */,
281 | );
282 | runOnlyForDeploymentPostprocessing = 0;
283 | };
284 | B6D0D8A41C11240300947CC9 /* Sources */ = {
285 | isa = PBXSourcesBuildPhase;
286 | buildActionMask = 2147483647;
287 | files = (
288 | B6D0D8AD1C11240300947CC9 /* AudioUnitV3SampleTests.swift in Sources */,
289 | );
290 | runOnlyForDeploymentPostprocessing = 0;
291 | };
292 | B6D0D8AF1C11240300947CC9 /* Sources */ = {
293 | isa = PBXSourcesBuildPhase;
294 | buildActionMask = 2147483647;
295 | files = (
296 | B6D0D8B81C11240300947CC9 /* AudioUnitV3SampleUITests.swift in Sources */,
297 | );
298 | runOnlyForDeploymentPostprocessing = 0;
299 | };
300 | /* End PBXSourcesBuildPhase section */
301 |
302 | /* Begin PBXTargetDependency section */
303 | B6D0D8AA1C11240300947CC9 /* PBXTargetDependency */ = {
304 | isa = PBXTargetDependency;
305 | target = B6D0D8931C11240300947CC9 /* AudioUnitV3Sample */;
306 | targetProxy = B6D0D8A91C11240300947CC9 /* PBXContainerItemProxy */;
307 | };
308 | B6D0D8B51C11240300947CC9 /* PBXTargetDependency */ = {
309 | isa = PBXTargetDependency;
310 | target = B6D0D8931C11240300947CC9 /* AudioUnitV3Sample */;
311 | targetProxy = B6D0D8B41C11240300947CC9 /* PBXContainerItemProxy */;
312 | };
313 | /* End PBXTargetDependency section */
314 |
315 | /* Begin PBXVariantGroup section */
316 | B6D0D8A01C11240300947CC9 /* LaunchScreen.storyboard */ = {
317 | isa = PBXVariantGroup;
318 | children = (
319 | B6D0D8A11C11240300947CC9 /* Base */,
320 | );
321 | name = LaunchScreen.storyboard;
322 | sourceTree = "";
323 | };
324 | /* End PBXVariantGroup section */
325 |
326 | /* Begin XCBuildConfiguration section */
327 | B6D0D8BA1C11240300947CC9 /* Debug */ = {
328 | isa = XCBuildConfiguration;
329 | buildSettings = {
330 | ALWAYS_SEARCH_USER_PATHS = NO;
331 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
332 | CLANG_CXX_LIBRARY = "libc++";
333 | CLANG_ENABLE_MODULES = YES;
334 | CLANG_ENABLE_OBJC_ARC = YES;
335 | CLANG_WARN_BOOL_CONVERSION = YES;
336 | CLANG_WARN_CONSTANT_CONVERSION = YES;
337 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
338 | CLANG_WARN_EMPTY_BODY = YES;
339 | CLANG_WARN_ENUM_CONVERSION = YES;
340 | CLANG_WARN_INT_CONVERSION = YES;
341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
342 | CLANG_WARN_UNREACHABLE_CODE = YES;
343 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
344 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
345 | COPY_PHASE_STRIP = NO;
346 | DEBUG_INFORMATION_FORMAT = dwarf;
347 | ENABLE_STRICT_OBJC_MSGSEND = YES;
348 | ENABLE_TESTABILITY = YES;
349 | GCC_C_LANGUAGE_STANDARD = gnu99;
350 | GCC_DYNAMIC_NO_PIC = NO;
351 | GCC_NO_COMMON_BLOCKS = YES;
352 | GCC_OPTIMIZATION_LEVEL = 0;
353 | GCC_PREPROCESSOR_DEFINITIONS = (
354 | "DEBUG=1",
355 | "$(inherited)",
356 | );
357 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
358 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
359 | GCC_WARN_UNDECLARED_SELECTOR = YES;
360 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
361 | GCC_WARN_UNUSED_FUNCTION = YES;
362 | GCC_WARN_UNUSED_VARIABLE = YES;
363 | IPHONEOS_DEPLOYMENT_TARGET = 9.1;
364 | MTL_ENABLE_DEBUG_INFO = YES;
365 | ONLY_ACTIVE_ARCH = YES;
366 | SDKROOT = iphoneos;
367 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
368 | SWIFT_VERSION = 4.0;
369 | TARGETED_DEVICE_FAMILY = "1,2";
370 | };
371 | name = Debug;
372 | };
373 | B6D0D8BB1C11240300947CC9 /* Release */ = {
374 | isa = XCBuildConfiguration;
375 | buildSettings = {
376 | ALWAYS_SEARCH_USER_PATHS = NO;
377 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
378 | CLANG_CXX_LIBRARY = "libc++";
379 | CLANG_ENABLE_MODULES = YES;
380 | CLANG_ENABLE_OBJC_ARC = YES;
381 | CLANG_WARN_BOOL_CONVERSION = YES;
382 | CLANG_WARN_CONSTANT_CONVERSION = YES;
383 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
384 | CLANG_WARN_EMPTY_BODY = YES;
385 | CLANG_WARN_ENUM_CONVERSION = YES;
386 | CLANG_WARN_INT_CONVERSION = YES;
387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
388 | CLANG_WARN_UNREACHABLE_CODE = YES;
389 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
390 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
391 | COPY_PHASE_STRIP = NO;
392 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
393 | ENABLE_NS_ASSERTIONS = NO;
394 | ENABLE_STRICT_OBJC_MSGSEND = YES;
395 | GCC_C_LANGUAGE_STANDARD = gnu99;
396 | GCC_NO_COMMON_BLOCKS = YES;
397 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
398 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
399 | GCC_WARN_UNDECLARED_SELECTOR = YES;
400 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
401 | GCC_WARN_UNUSED_FUNCTION = YES;
402 | GCC_WARN_UNUSED_VARIABLE = YES;
403 | IPHONEOS_DEPLOYMENT_TARGET = 9.1;
404 | MTL_ENABLE_DEBUG_INFO = NO;
405 | SDKROOT = iphoneos;
406 | SWIFT_VERSION = 4.0;
407 | TARGETED_DEVICE_FAMILY = "1,2";
408 | VALIDATE_PRODUCT = YES;
409 | };
410 | name = Release;
411 | };
412 | B6D0D8BD1C11240300947CC9 /* Debug */ = {
413 | isa = XCBuildConfiguration;
414 | buildSettings = {
415 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
416 | INFOPLIST_FILE = AudioUnitV3Sample/Info.plist;
417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
418 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3Sample";
419 | PRODUCT_NAME = "$(TARGET_NAME)";
420 | };
421 | name = Debug;
422 | };
423 | B6D0D8BE1C11240300947CC9 /* Release */ = {
424 | isa = XCBuildConfiguration;
425 | buildSettings = {
426 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
427 | INFOPLIST_FILE = AudioUnitV3Sample/Info.plist;
428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
429 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3Sample";
430 | PRODUCT_NAME = "$(TARGET_NAME)";
431 | };
432 | name = Release;
433 | };
434 | B6D0D8C01C11240300947CC9 /* Debug */ = {
435 | isa = XCBuildConfiguration;
436 | buildSettings = {
437 | BUNDLE_LOADER = "$(TEST_HOST)";
438 | INFOPLIST_FILE = AudioUnitV3SampleTests/Info.plist;
439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
440 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3SampleTests";
441 | PRODUCT_NAME = "$(TARGET_NAME)";
442 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AudioUnitV3Sample.app/AudioUnitV3Sample";
443 | };
444 | name = Debug;
445 | };
446 | B6D0D8C11C11240300947CC9 /* Release */ = {
447 | isa = XCBuildConfiguration;
448 | buildSettings = {
449 | BUNDLE_LOADER = "$(TEST_HOST)";
450 | INFOPLIST_FILE = AudioUnitV3SampleTests/Info.plist;
451 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
452 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3SampleTests";
453 | PRODUCT_NAME = "$(TARGET_NAME)";
454 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AudioUnitV3Sample.app/AudioUnitV3Sample";
455 | };
456 | name = Release;
457 | };
458 | B6D0D8C31C11240300947CC9 /* Debug */ = {
459 | isa = XCBuildConfiguration;
460 | buildSettings = {
461 | INFOPLIST_FILE = AudioUnitV3SampleUITests/Info.plist;
462 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
463 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3SampleUITests";
464 | PRODUCT_NAME = "$(TARGET_NAME)";
465 | TEST_TARGET_NAME = AudioUnitV3Sample;
466 | USES_XCTRUNNER = YES;
467 | };
468 | name = Debug;
469 | };
470 | B6D0D8C41C11240300947CC9 /* Release */ = {
471 | isa = XCBuildConfiguration;
472 | buildSettings = {
473 | INFOPLIST_FILE = AudioUnitV3SampleUITests/Info.plist;
474 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
475 | PRODUCT_BUNDLE_IDENTIFIER = "jp.objective-audio.AudioUnitV3SampleUITests";
476 | PRODUCT_NAME = "$(TARGET_NAME)";
477 | TEST_TARGET_NAME = AudioUnitV3Sample;
478 | USES_XCTRUNNER = YES;
479 | };
480 | name = Release;
481 | };
482 | /* End XCBuildConfiguration section */
483 |
484 | /* Begin XCConfigurationList section */
485 | B6D0D88F1C11240300947CC9 /* Build configuration list for PBXProject "AudioUnitV3Sample" */ = {
486 | isa = XCConfigurationList;
487 | buildConfigurations = (
488 | B6D0D8BA1C11240300947CC9 /* Debug */,
489 | B6D0D8BB1C11240300947CC9 /* Release */,
490 | );
491 | defaultConfigurationIsVisible = 0;
492 | defaultConfigurationName = Release;
493 | };
494 | B6D0D8BC1C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3Sample" */ = {
495 | isa = XCConfigurationList;
496 | buildConfigurations = (
497 | B6D0D8BD1C11240300947CC9 /* Debug */,
498 | B6D0D8BE1C11240300947CC9 /* Release */,
499 | );
500 | defaultConfigurationIsVisible = 0;
501 | defaultConfigurationName = Release;
502 | };
503 | B6D0D8BF1C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3SampleTests" */ = {
504 | isa = XCConfigurationList;
505 | buildConfigurations = (
506 | B6D0D8C01C11240300947CC9 /* Debug */,
507 | B6D0D8C11C11240300947CC9 /* Release */,
508 | );
509 | defaultConfigurationIsVisible = 0;
510 | defaultConfigurationName = Release;
511 | };
512 | B6D0D8C21C11240300947CC9 /* Build configuration list for PBXNativeTarget "AudioUnitV3SampleUITests" */ = {
513 | isa = XCConfigurationList;
514 | buildConfigurations = (
515 | B6D0D8C31C11240300947CC9 /* Debug */,
516 | B6D0D8C41C11240300947CC9 /* Release */,
517 | );
518 | defaultConfigurationIsVisible = 0;
519 | defaultConfigurationName = Release;
520 | };
521 | /* End XCConfigurationList section */
522 | };
523 | rootObject = B6D0D88C1C11240300947CC9 /* Project object */;
524 | }
525 |
--------------------------------------------------------------------------------