This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#include <AudioToolbox/AudioToolbox.h> | |
#define kInputFileLocation CFSTR("/Users/petermarks/Developer/CoreAudio/FloatExtract/loop.wav") | |
#pragma mark utility functions | |
static void CheckResult(OSStatus error, const char *operation) | |
{ | |
if (error == noErr) return; | |
char errorString[20]; |