Skip to content

Commit

Permalink
Utilisation pre-processor macro pour l'import de la librairie externe
Browse files Browse the repository at this point in the history
  • Loading branch information
louis49 committed Jun 29, 2015
1 parent a29841a commit e0a28a0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion EZAudio/EZAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
#import <Foundation/Foundation.h>

#pragma mark - 3rd Party Utilties
//#import "TPCircularBuffer.h"
#if COCOAPODS
#import <TPCircularBuffer/TPCircularBuffer.h>
#else
#import "TPCircularBuffer.h"
#endif

#pragma mark - Core Components
#import "EZAudioFile.h"
Expand Down
5 changes: 4 additions & 1 deletion EZAudio/EZAudioUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@

#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
//#import "TPCircularBuffer.h"
#if COCOAPODS
#import <TPCircularBuffer/TPCircularBuffer.h>
#else
#import "TPCircularBuffer.h"
#endif

#if TARGET_OS_IPHONE
#import <AVFoundation/AVFoundation.h>
Expand Down
5 changes: 4 additions & 1 deletion EZAudio/EZOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
#import <AudioUnit/AudioUnit.h>
#endif

//#import "TPCircularBuffer.h"
#if COCOAPODS
#import <TPCircularBuffer/TPCircularBuffer.h>
#else
#import "TPCircularBuffer.h"
#endif

@class EZOutput;

Expand Down
6 changes: 5 additions & 1 deletion EZAudio/TPCircularBuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
// 3. This notice may not be removed or altered from any source distribution.
//

//#import "TPCircularBuffer.h"
#if COCOAPODS
#import <TPCircularBuffer/TPCircularBuffer.h>
#else
#import "TPCircularBuffer.h"
#endif

#include <mach/mach.h>
#include <stdio.h>

Expand Down

0 comments on commit e0a28a0

Please sign in to comment.