Compare commits
6 commits
23248b2f22
...
7277d90947
Author | SHA1 | Date | |
---|---|---|---|
|
7277d90947 | ||
|
83dc97058e | ||
|
9b7ff4d663 | ||
|
4f1a794065 | ||
|
8394eb4b0b | ||
|
f7b1ebca27 |
86 changed files with 119 additions and 498 deletions
|
@ -872,7 +872,7 @@ static void convert_be_to_le(uint8_t *buffer, size_t bitsPerSample, size_t bytes
|
||||||
if(!inputChanged) {
|
if(!inputChanged) {
|
||||||
memcpy(&tempData[buffer_adder], inputBuffer, samplesRead * 2);
|
memcpy(&tempData[buffer_adder], inputBuffer, samplesRead * 2);
|
||||||
inputBuffer = &tempData[buffer_adder];
|
inputBuffer = &tempData[buffer_adder];
|
||||||
inputChanged = YES;
|
//inputChanged = YES;
|
||||||
}
|
}
|
||||||
convert_u16_to_s16((int16_t *)inputBuffer, samplesRead);
|
convert_u16_to_s16((int16_t *)inputBuffer, samplesRead);
|
||||||
}
|
}
|
||||||
|
@ -912,10 +912,10 @@ static void convert_be_to_le(uint8_t *buffer, size_t bitsPerSample, size_t bytes
|
||||||
vDSP_vflt32((const int *)inputBuffer, 1, (float *)(&tempData[buffer_adder]), 1, samplesRead);
|
vDSP_vflt32((const int *)inputBuffer, 1, (float *)(&tempData[buffer_adder]), 1, samplesRead);
|
||||||
float scale = (1ULL << 31) / gain;
|
float scale = (1ULL << 31) / gain;
|
||||||
vDSP_vsdiv((const float *)(&tempData[buffer_adder]), 1, &scale, (float *)(&tempData[buffer_adder]), 1, samplesRead);
|
vDSP_vsdiv((const float *)(&tempData[buffer_adder]), 1, &scale, (float *)(&tempData[buffer_adder]), 1, samplesRead);
|
||||||
bitsPerSample = 32;
|
//bitsPerSample = 32;
|
||||||
bytesReadFromInput = samplesRead * sizeof(float);
|
bytesReadFromInput = samplesRead * sizeof(float);
|
||||||
isUnsigned = NO;
|
//isUnsigned = NO;
|
||||||
isFloat = YES;
|
//isFloat = YES;
|
||||||
inputBuffer = &tempData[buffer_adder];
|
inputBuffer = &tempData[buffer_adder];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -146,7 +146,6 @@ static OSStatus eqRenderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioA
|
||||||
- (BOOL)fullInit {
|
- (BOOL)fullInit {
|
||||||
if(enableEqualizer) {
|
if(enableEqualizer) {
|
||||||
AudioComponentDescription desc;
|
AudioComponentDescription desc;
|
||||||
NSError *err;
|
|
||||||
|
|
||||||
desc.componentType = kAudioUnitType_Effect;
|
desc.componentType = kAudioUnitType_Effect;
|
||||||
desc.componentSubType = kAudioUnitSubType_GraphicEQ;
|
desc.componentSubType = kAudioUnitSubType_GraphicEQ;
|
||||||
|
@ -161,8 +160,8 @@ static OSStatus eqRenderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioA
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
OSStatus _err = AudioComponentInstanceNew(comp, &_eq);
|
OSStatus status = AudioComponentInstanceNew(comp, &_eq);
|
||||||
if(err) {
|
if(status != noErr) {
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,8 +208,8 @@ static OSStatus eqRenderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioA
|
||||||
|
|
||||||
AudioUnitReset(_eq, kAudioUnitScope_Global, 0);
|
AudioUnitReset(_eq, kAudioUnitScope_Global, 0);
|
||||||
|
|
||||||
_err = AudioUnitInitialize(_eq);
|
status = AudioUnitInitialize(_eq);
|
||||||
if(_err != noErr) {
|
if(status != noErr) {
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <AvailabilityMacros.h>
|
#include <AvailabilityMacros.h>
|
||||||
|
|
||||||
#if defined(MAC_OS_X_VERSION_14_0) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_14_0
|
#if defined(MAC_OS_VERSION_14_0) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_VERSION_14_0
|
||||||
#define MOTION_MANAGER 1
|
#define MOTION_MANAGER 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ static void * kDSPHRTFNodeContext = &kDSPHRTFNodeContext;
|
||||||
|
|
||||||
static NSString *CogPlaybackDidResetHeadTracking = @"CogPlaybackDigResetHeadTracking";
|
static NSString *CogPlaybackDidResetHeadTracking = @"CogPlaybackDigResetHeadTracking";
|
||||||
|
|
||||||
|
#ifdef MOTION_MANAGER
|
||||||
static simd_float4x4 convertMatrix(CMRotationMatrix r) {
|
static simd_float4x4 convertMatrix(CMRotationMatrix r) {
|
||||||
simd_float4x4 matrix = {
|
simd_float4x4 matrix = {
|
||||||
simd_make_float4(r.m33, -r.m31, r.m32, 0.0f),
|
simd_make_float4(r.m33, -r.m31, r.m32, 0.0f),
|
||||||
|
@ -37,7 +38,6 @@ static simd_float4x4 convertMatrix(CMRotationMatrix r) {
|
||||||
return matrix;
|
return matrix;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MOTION_MANAGER
|
|
||||||
static NSLock *motionManagerLock = nil;
|
static NSLock *motionManagerLock = nil;
|
||||||
API_AVAILABLE(macos(14.0)) static CMHeadphoneMotionManager *motionManager = nil;
|
API_AVAILABLE(macos(14.0)) static CMHeadphoneMotionManager *motionManager = nil;
|
||||||
static DSPHRTFNode *registeredMotionListener = nil;
|
static DSPHRTFNode *registeredMotionListener = nil;
|
||||||
|
|
|
@ -157,6 +157,8 @@ static void downmix_to_mono(const float *inBuffer, int channels, uint32_t config
|
||||||
}
|
}
|
||||||
cblas_scopy((int)count, inBuffer, 2, outBuffer, 1);
|
cblas_scopy((int)count, inBuffer, 2, outBuffer, 1);
|
||||||
vDSP_vadd(outBuffer, 1, inBuffer + 1, 2, outBuffer, 1, count);
|
vDSP_vadd(outBuffer, 1, inBuffer + 1, 2, outBuffer, 1, count);
|
||||||
|
const float scale = 0.5f;
|
||||||
|
vDSP_vsmul(outBuffer, 1, &scale, outBuffer, 1, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void upmix(const float *inBuffer, int inchannels, uint32_t inconfig, float *outBuffer, int outchannels, uint32_t outconfig, size_t count) {
|
static void upmix(const float *inBuffer, int inchannels, uint32_t inconfig, float *outBuffer, int outchannels, uint32_t outconfig, size_t count) {
|
||||||
|
|
|
@ -191,7 +191,7 @@
|
||||||
|
|
||||||
- (void)reconnectInputAndReplumb {
|
- (void)reconnectInputAndReplumb {
|
||||||
Node *finalNode = nil;
|
Node *finalNode = nil;
|
||||||
if(rubberbandNode) {
|
if(DSPsLaunched) {
|
||||||
finalNode = [[controller bufferChain] finalNode];
|
finalNode = [[controller bufferChain] finalNode];
|
||||||
if(finalNode) {
|
if(finalNode) {
|
||||||
[rubberbandNode setPreviousNode:finalNode];
|
[rubberbandNode setPreviousNode:finalNode];
|
||||||
|
|
|
@ -694,12 +694,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8DC2EF4F0486A6940098B216 = {
|
|
||||||
LastSwiftMigration = 1330;
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "CogAudio" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "CogAudio" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
@ -891,7 +885,6 @@
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEFINES_MODULE = YES;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||||
|
@ -944,7 +937,6 @@
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DEFINES_MODULE = YES;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
|
|
@ -351,17 +351,9 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
||||||
AudioObjectAddPropertyListener(kAudioObjectSystemObject, &theAddress, default_device_changed, (__bridge void *_Nullable)(self));
|
AudioObjectAddPropertyListener(kAudioObjectSystemObject, &theAddress, default_device_changed, (__bridge void *_Nullable)(self));
|
||||||
defaultdevicelistenerapplied = YES;
|
defaultdevicelistenerapplied = YES;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
err = noErr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(err != noErr) {
|
return noErr;
|
||||||
DLog(@"No output device with ID %d could be found.", deviceID);
|
|
||||||
|
|
||||||
return err;
|
|
||||||
}
|
|
||||||
|
|
||||||
return err;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)setOutputDeviceWithDeviceDict:(NSDictionary *)deviceDict {
|
- (BOOL)setOutputDeviceWithDeviceDict:(NSDictionary *)deviceDict {
|
||||||
|
@ -415,15 +407,18 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
||||||
.mElement = kAudioObjectPropertyElementMaster
|
.mElement = kAudioObjectPropertyElementMaster
|
||||||
};
|
};
|
||||||
|
|
||||||
__Verify_noErr(AudioObjectGetPropertyDataSize(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize));
|
OSStatus status = AudioObjectGetPropertyDataSize(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize);
|
||||||
|
if(status != noErr) return;
|
||||||
UInt32 nDevices = propsize / (UInt32)sizeof(AudioDeviceID);
|
UInt32 nDevices = propsize / (UInt32)sizeof(AudioDeviceID);
|
||||||
AudioDeviceID *devids = (AudioDeviceID *)malloc(propsize);
|
AudioDeviceID *devids = (AudioDeviceID *)malloc(propsize);
|
||||||
__Verify_noErr(AudioObjectGetPropertyData(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize, devids));
|
status = AudioObjectGetPropertyData(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize, devids);
|
||||||
|
if(status != noErr) return;
|
||||||
|
|
||||||
theAddress.mSelector = kAudioHardwarePropertyDefaultOutputDevice;
|
theAddress.mSelector = kAudioHardwarePropertyDefaultOutputDevice;
|
||||||
AudioDeviceID systemDefault;
|
AudioDeviceID systemDefault;
|
||||||
propsize = sizeof(systemDefault);
|
propsize = sizeof(systemDefault);
|
||||||
__Verify_noErr(AudioObjectGetPropertyData(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize, &systemDefault));
|
status = AudioObjectGetPropertyData(kAudioObjectSystemObject, &theAddress, 0, NULL, &propsize, &systemDefault);
|
||||||
|
if(status != noErr) return;
|
||||||
|
|
||||||
theAddress.mScope = kAudioDevicePropertyScopeOutput;
|
theAddress.mScope = kAudioDevicePropertyScopeOutput;
|
||||||
|
|
||||||
|
@ -431,17 +426,23 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
||||||
UInt32 isAlive = 0;
|
UInt32 isAlive = 0;
|
||||||
propsize = sizeof(isAlive);
|
propsize = sizeof(isAlive);
|
||||||
theAddress.mSelector = kAudioDevicePropertyDeviceIsAlive;
|
theAddress.mSelector = kAudioDevicePropertyDeviceIsAlive;
|
||||||
__Verify_noErr(AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, &isAlive));
|
status = AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, &isAlive);
|
||||||
|
if(status != noErr) return;
|
||||||
if(!isAlive) continue;
|
if(!isAlive) continue;
|
||||||
|
|
||||||
CFStringRef name = NULL;
|
CFStringRef name = NULL;
|
||||||
propsize = sizeof(name);
|
propsize = sizeof(name);
|
||||||
theAddress.mSelector = kAudioDevicePropertyDeviceNameCFString;
|
theAddress.mSelector = kAudioDevicePropertyDeviceNameCFString;
|
||||||
__Verify_noErr(AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, &name));
|
status = AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, &name);
|
||||||
|
if(status != noErr) return;
|
||||||
|
|
||||||
propsize = 0;
|
propsize = 0;
|
||||||
theAddress.mSelector = kAudioDevicePropertyStreamConfiguration;
|
theAddress.mSelector = kAudioDevicePropertyStreamConfiguration;
|
||||||
__Verify_noErr(AudioObjectGetPropertyDataSize(devids[i], &theAddress, 0, NULL, &propsize));
|
status = AudioObjectGetPropertyDataSize(devids[i], &theAddress, 0, NULL, &propsize);
|
||||||
|
if(status != noErr) {
|
||||||
|
if(name) CFRelease(name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(propsize < sizeof(UInt32)) {
|
if(propsize < sizeof(UInt32)) {
|
||||||
if(name) CFRelease(name);
|
if(name) CFRelease(name);
|
||||||
|
@ -449,7 +450,15 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioBufferList *bufferList = (AudioBufferList *)malloc(propsize);
|
AudioBufferList *bufferList = (AudioBufferList *)malloc(propsize);
|
||||||
__Verify_noErr(AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, bufferList));
|
if(!bufferList) {
|
||||||
|
if(name) CFRelease(name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
status = AudioObjectGetPropertyData(devids[i], &theAddress, 0, NULL, &propsize, bufferList);
|
||||||
|
if(status != noErr) {
|
||||||
|
if(name) CFRelease(name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
UInt32 bufferCount = bufferList->mNumberBuffers;
|
UInt32 bufferCount = bufferList->mNumberBuffers;
|
||||||
free(bufferList);
|
free(bufferList);
|
||||||
|
|
||||||
|
@ -466,7 +475,7 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
||||||
systemDefault,
|
systemDefault,
|
||||||
&stop);
|
&stop);
|
||||||
|
|
||||||
CFRelease(name);
|
if(name) CFRelease(name);
|
||||||
|
|
||||||
if(stop) {
|
if(stop) {
|
||||||
break;
|
break;
|
||||||
|
|
2
Audio/ThirdParty/deadbeef/fft_accelerate.c
vendored
2
Audio/ThirdParty/deadbeef/fft_accelerate.c
vendored
|
@ -60,7 +60,6 @@ static void
|
||||||
_init_buffers(int fft_size) {
|
_init_buffers(int fft_size) {
|
||||||
if(fft_size != _fft_size) {
|
if(fft_size != _fft_size) {
|
||||||
fft_free();
|
fft_free();
|
||||||
_fft_size = 0;
|
|
||||||
|
|
||||||
_dftSetup = vDSP_DFT_zrop_CreateSetup(NULL, fft_size * 2, vDSP_DFT_FORWARD);
|
_dftSetup = vDSP_DFT_zrop_CreateSetup(NULL, fft_size * 2, vDSP_DFT_FORWARD);
|
||||||
if(!_dftSetup) return;
|
if(!_dftSetup) return;
|
||||||
|
@ -136,4 +135,5 @@ void __attribute__((destructor)) fft_free(void) {
|
||||||
_window = NULL;
|
_window = NULL;
|
||||||
_rawSpectrum = NULL;
|
_rawSpectrum = NULL;
|
||||||
_dftSetup = NULL;
|
_dftSetup = NULL;
|
||||||
|
_fft_size = 0;
|
||||||
}
|
}
|
||||||
|
|
4
Audio/ThirdParty/hdcd/hdcd_decode2.c
vendored
4
Audio/ThirdParty/hdcd/hdcd_decode2.c
vendored
|
@ -1044,8 +1044,8 @@ static int hdcd_envelope(int32_t *samples, int count, int stride, int gain, int
|
||||||
|
|
||||||
/* hold a steady level */
|
/* hold a steady level */
|
||||||
if (gain == 0x800000) {
|
if (gain == 0x800000) {
|
||||||
if (count > 0)
|
/*if (count > 0)
|
||||||
samples += count * stride;
|
samples += count * stride;*/
|
||||||
} else {
|
} else {
|
||||||
while (--count >= 0) {
|
while (--count >= 0) {
|
||||||
APPLY_GAIN(*samples, gain);
|
APPLY_GAIN(*samples, gain);
|
||||||
|
|
3
Audio/ThirdParty/lvqcl/lpc.c
vendored
3
Audio/ThirdParty/lvqcl/lpc.c
vendored
|
@ -139,7 +139,7 @@ static void vorbis_lpc_predict(float *coeff, float *prime, int m, float *data, l
|
||||||
}
|
}
|
||||||
|
|
||||||
void lpc_extrapolate2(float *const data, const size_t data_len, const int nch, const int lpc_order, const size_t extra_bkwd, const size_t extra_fwd, void **extrapolate_buffer, size_t *extrapolate_buffer_size) {
|
void lpc_extrapolate2(float *const data, const size_t data_len, const int nch, const int lpc_order, const size_t extra_bkwd, const size_t extra_fwd, void **extrapolate_buffer, size_t *extrapolate_buffer_size) {
|
||||||
const size_t max_to_prime = (data_len < lpc_order) ? data_len : lpc_order;
|
//const size_t max_to_prime = (data_len < lpc_order) ? data_len : lpc_order;
|
||||||
const size_t min_data_len = (data_len < lpc_order) ? lpc_order : data_len;
|
const size_t min_data_len = (data_len < lpc_order) ? lpc_order : data_len;
|
||||||
|
|
||||||
const size_t tdata_size = sizeof(float) * (extra_bkwd + min_data_len + extra_fwd);
|
const size_t tdata_size = sizeof(float) * (extra_bkwd + min_data_len + extra_fwd);
|
||||||
|
@ -153,6 +153,7 @@ void lpc_extrapolate2(float *const data, const size_t data_len, const int nch, c
|
||||||
if(new_size > *extrapolate_buffer_size) {
|
if(new_size > *extrapolate_buffer_size) {
|
||||||
*extrapolate_buffer = realloc(*extrapolate_buffer, new_size);
|
*extrapolate_buffer = realloc(*extrapolate_buffer, new_size);
|
||||||
*extrapolate_buffer_size = new_size;
|
*extrapolate_buffer_size = new_size;
|
||||||
|
if(!*extrapolate_buffer) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
double *aut = (double *)(*extrapolate_buffer);
|
double *aut = (double *)(*extrapolate_buffer);
|
||||||
|
|
1
Audio/ThirdParty/lvqcl/util.h
vendored
1
Audio/ThirdParty/lvqcl/util.h
vendored
|
@ -44,6 +44,7 @@ static void samples_len(unsigned* r1, unsigned* r2, unsigned N, unsigned M)
|
||||||
{
|
{
|
||||||
if (r1 == 0 || r2 == 0) return;
|
if (r1 == 0 || r2 == 0) return;
|
||||||
unsigned v = local_gcd(*r1, *r2); // v = 300
|
unsigned v = local_gcd(*r1, *r2); // v = 300
|
||||||
|
if (v == 0) return;
|
||||||
*r1 /= v; *r2 /= v; // r1 = 147; r2 = 160 == 1/300th of second
|
*r1 /= v; *r2 /= v; // r1 = 147; r2 = 160 == 1/300th of second
|
||||||
unsigned n = (v + N-1) / N; // n = 300/20 = 15 times
|
unsigned n = (v + N-1) / N; // n = 300/20 = 15 times
|
||||||
unsigned z = max(*r1, *r2); // z = 160
|
unsigned z = max(*r1, *r2); // z = 160
|
||||||
|
|
|
@ -130,6 +130,7 @@ static VisualizationController *_sharedController = nil;
|
||||||
|
|
||||||
@synchronized(self) {
|
@synchronized(self) {
|
||||||
if(!sampleRate) {
|
if(!sampleRate) {
|
||||||
|
free(visAudioTemp);
|
||||||
if(outPCM) bzero(outPCM, 4096 * sizeof(float));
|
if(outPCM) bzero(outPCM, 4096 * sizeof(float));
|
||||||
if(outFFT) bzero(outFFT, 2048 * sizeof(float));
|
if(outFFT) bzero(outFFT, 2048 * sizeof(float));
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -2044,13 +2044,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1500;
|
LastUpgradeCheck = 1500;
|
||||||
TargetAttributes = {
|
|
||||||
8D1107260486CEB800E47090 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
LastSwiftMigration = 1220;
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cog" */;
|
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cog" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -55,7 +55,6 @@
|
||||||
if(path) {
|
if(path) {
|
||||||
[panel setDirectoryURL:[NSURL fileURLWithPath:path]];
|
[panel setDirectoryURL:[NSURL fileURLWithPath:path]];
|
||||||
}
|
}
|
||||||
[panel setTitle:@"Open to choose tree path"];
|
|
||||||
NSInteger result = [panel runModal];
|
NSInteger result = [panel runModal];
|
||||||
if(result == NSModalResponseOK) {
|
if(result == NSModalResponseOK) {
|
||||||
[[SandboxBroker sharedSandboxBroker] addFolderIfMissing:[panel URL]];
|
[[SandboxBroker sharedSandboxBroker] addFolderIfMissing:[panel URL]];
|
||||||
|
|
|
@ -560,11 +560,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83D3C4D3201C654F005564CB = {
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83D3C4CE201C654F005564CB /* Build configuration list for PBXProject "libAdPlug" */;
|
buildConfigurationList = 83D3C4CE201C654F005564CB /* Build configuration list for PBXProject "libAdPlug" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -486,12 +486,6 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
TargetAttributes = {
|
|
||||||
8DC2EF4F0486A6940098B216 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -634,12 +634,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1640;
|
LastUpgradeCheck = 1640;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8359FF3B17FEF39F0060F3ED = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8359FF3617FEF39F0060F3ED /* Build configuration list for PBXProject "File_Extractor" */;
|
buildConfigurationList = 8359FF3617FEF39F0060F3ED /* Build configuration list for PBXProject "File_Extractor" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -629,12 +629,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8DC2EF4F0486A6940098B216 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "GME" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "GME" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -251,12 +251,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8343793417F97BDB00584396 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8343792F17F97BDB00584396 /* Build configuration list for PBXProject "HighlyAdvanced" */;
|
buildConfigurationList = 8343792F17F97BDB00584396 /* Build configuration list for PBXProject "HighlyAdvanced" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -190,12 +190,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8360EF0F17F92C91005208A4 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8360EF0A17F92C91005208A4 /* Build configuration list for PBXProject "HighlyExperimental" */;
|
buildConfigurationList = 8360EF0A17F92C91005208A4 /* Build configuration list for PBXProject "HighlyExperimental" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -162,12 +162,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
834378DD17F96E2600584396 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 834378D817F96E2600584396 /* Build configuration list for PBXProject "HighlyQuixotic" */;
|
buildConfigurationList = 834378D817F96E2600584396 /* Build configuration list for PBXProject "HighlyQuixotic" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -204,12 +204,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8343786D17F9658E00584396 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8343786817F9658E00584396 /* Build configuration list for PBXProject "HighlyTheoretical" */;
|
buildConfigurationList = 8343786817F9658E00584396 /* Build configuration list for PBXProject "HighlyTheoretical" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -144,12 +144,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
836FB555182053D700B3AD2D = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 836FB550182053D700B3AD2D /* Build configuration list for PBXProject "HivelyPlayer" */;
|
buildConfigurationList = 836FB550182053D700B3AD2D /* Build configuration list for PBXProject "HivelyPlayer" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -244,12 +244,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8DC2EF4F0486A6940098B216 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "MPCDec" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "MPCDec" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -2349,11 +2349,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83E5EFBC1FFEF7CC00659F0F = {
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83E5EFB71FFEF7CC00659F0F /* Build configuration list for PBXProject "libOpenMPT" */;
|
buildConfigurationList = 83E5EFB71FFEF7CC00659F0F /* Build configuration list for PBXProject "libOpenMPT" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -253,12 +253,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83848FB71807623F00E7332D = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83848FB21807623F00E7332D /* Build configuration list for PBXProject "SSEQPlayer" */;
|
buildConfigurationList = 83848FB21807623F00E7332D /* Build configuration list for PBXProject "SSEQPlayer" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -188,12 +188,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8DC2EF4F0486A6940098B216 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Shorten" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Shorten" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
@ -280,6 +274,7 @@
|
||||||
INSTALL_PATH = "@loader_path/../Frameworks";
|
INSTALL_PATH = "@loader_path/../Frameworks";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.lib.shorten;
|
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.lib.shorten;
|
||||||
PRODUCT_NAME = Shorten;
|
PRODUCT_NAME = Shorten;
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
WRAPPER_EXTENSION = framework;
|
WRAPPER_EXTENSION = framework;
|
||||||
|
@ -307,6 +302,7 @@
|
||||||
OTHER_CFLAGS = "-DHAVE_CONFIG_H";
|
OTHER_CFLAGS = "-DHAVE_CONFIG_H";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.lib.shorten;
|
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.lib.shorten;
|
||||||
PRODUCT_NAME = Shorten;
|
PRODUCT_NAME = Shorten;
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_PRECOMPS_DIR = "$(CACHE_ROOT)/SharedPrecompiledHeaders";
|
SHARED_PRECOMPS_DIR = "$(CACHE_ROOT)/SharedPrecompiledHeaders";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
|
|
|
@ -443,6 +443,7 @@
|
||||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "org.cogx.$(PRODUCT_NAME:rfc1034identifier)";
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cogx.$(PRODUCT_NAME:rfc1034identifier)";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
|
@ -475,6 +476,7 @@
|
||||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "org.cogx.$(PRODUCT_NAME:rfc1034identifier)";
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cogx.$(PRODUCT_NAME:rfc1034identifier)";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
|
|
|
@ -599,13 +599,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 1020;
|
LastUpgradeCheck = 1020;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83C8B62118AF57770071B040 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83C8B61C18AF57770071B040 /* Build configuration list for PBXProject "lazyusf" */;
|
buildConfigurationList = 83C8B61C18AF57770071B040 /* Build configuration list for PBXProject "lazyusf" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -961,12 +961,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83C8B62118AF57770071B040 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83C8B61C18AF57770071B040 /* Build configuration list for PBXProject "lazyusf2" */;
|
buildConfigurationList = 83C8B61C18AF57770071B040 /* Build configuration list for PBXProject "lazyusf2" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -127,12 +127,7 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83D3C67A201D37D8005564CB = {
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83D3C675201D37D8005564CB /* Build configuration list for PBXProject "libbinio" */;
|
buildConfigurationList = 83D3C675201D37D8005564CB /* Build configuration list for PBXProject "libbinio" */;
|
||||||
compatibilityVersion = "Xcode 8.0";
|
compatibilityVersion = "Xcode 8.0";
|
||||||
|
|
|
@ -1107,12 +1107,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83CA24121D7BC47C00F2EA53 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83CA240D1D7BC47C00F2EA53 /* Build configuration list for PBXProject "mGBA" */;
|
buildConfigurationList = 83CA240D1D7BC47C00F2EA53 /* Build configuration list for PBXProject "mGBA" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -174,12 +174,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83B066AB180D56B9008E3612 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83B066A6180D56B9008E3612 /* Build configuration list for PBXProject "midi_processing" */;
|
buildConfigurationList = 83B066A6180D56B9008E3612 /* Build configuration list for PBXProject "midi_processing" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -150,13 +150,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83F4D53918D82105009B2DE6 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83F4D53418D82105009B2DE6 /* Build configuration list for PBXProject "modplay" */;
|
buildConfigurationList = 83F4D53418D82105009B2DE6 /* Build configuration list for PBXProject "modplay" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -129,13 +129,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83A0F4971816CEAD00119DB4 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83A0F4921816CEAD00119DB4 /* Build configuration list for PBXProject "playptmod" */;
|
buildConfigurationList = 83A0F4921816CEAD00119DB4 /* Build configuration list for PBXProject "playptmod" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -148,12 +148,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8343781B17F93CB500584396 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8343781617F93CB500584396 /* Build configuration list for PBXProject "psflib" */;
|
buildConfigurationList = 8343781617F93CB500584396 /* Build configuration list for PBXProject "psflib" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -4076,7 +4076,6 @@
|
||||||
836F6B6218BDB8880095E648 /* Debug */ = {
|
836F6B6218BDB8880095E648 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||||
|
@ -4093,7 +4092,6 @@
|
||||||
836F6B6318BDB8880095E648 /* Release */ = {
|
836F6B6318BDB8880095E648 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||||
|
|
|
@ -297,12 +297,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83DE0C05180A9BD400269051 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83DE0C00180A9BD400269051 /* Build configuration list for PBXProject "vio2sf" */;
|
buildConfigurationList = 83DE0C00180A9BD400269051 /* Build configuration list for PBXProject "vio2sf" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -452,8 +452,6 @@ static void *playlistControllerContext = &playlistControllerContext;
|
||||||
|
|
||||||
float fontSize = [[[NSUserDefaultsController sharedUserDefaultsController] defaults] floatForKey:@"fontSize"];
|
float fontSize = [[[NSUserDefaultsController sharedUserDefaultsController] defaults] floatForKey:@"fontSize"];
|
||||||
|
|
||||||
BOOL cellRating = NO;
|
|
||||||
|
|
||||||
if(pe) {
|
if(pe) {
|
||||||
cellIdentifier = [tableColumn identifier];
|
cellIdentifier = [tableColumn identifier];
|
||||||
NSUInteger index = [cellIdentifiers indexOfObject:cellIdentifier];
|
NSUInteger index = [cellIdentifiers indexOfObject:cellIdentifier];
|
||||||
|
@ -527,7 +525,6 @@ static void *playlistControllerContext = &playlistControllerContext;
|
||||||
rating = 5;
|
rating = 5;
|
||||||
cellText = [@"" stringByPaddingToLength:rating withString:filledStar startingAtIndex:0];
|
cellText = [@"" stringByPaddingToLength:rating withString:filledStar startingAtIndex:0];
|
||||||
cellText = [cellText stringByPaddingToLength:5 withString:emptyStar startingAtIndex:0];
|
cellText = [cellText stringByPaddingToLength:5 withString:emptyStar startingAtIndex:0];
|
||||||
cellRating = YES;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -536,6 +536,7 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path) {
|
||||||
NSString *tagName = [PlaylistEntry metaTagForKey:key];
|
NSString *tagName = [PlaylistEntry metaTagForKey:key];
|
||||||
NSString *lowerKey = [tagName lowercaseString];
|
NSString *lowerKey = [tagName lowercaseString];
|
||||||
id valueObj = [metadata objectForKey:key];
|
id valueObj = [metadata objectForKey:key];
|
||||||
|
id genericValue;
|
||||||
NSArray *values = nil;
|
NSArray *values = nil;
|
||||||
NSString *firstValue = nil;
|
NSString *firstValue = nil;
|
||||||
NSData *dataValue = nil;
|
NSData *dataValue = nil;
|
||||||
|
@ -544,15 +545,22 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path) {
|
||||||
if([values count]) {
|
if([values count]) {
|
||||||
firstValue = values[0];
|
firstValue = values[0];
|
||||||
}
|
}
|
||||||
|
genericValue = values;
|
||||||
} else if([valueObj isKindOfClass:[NSString class]]) {
|
} else if([valueObj isKindOfClass:[NSString class]]) {
|
||||||
firstValue = (NSString *)valueObj;
|
firstValue = (NSString *)valueObj;
|
||||||
values = @[firstValue];
|
values = @[firstValue];
|
||||||
|
genericValue = values;
|
||||||
} else if([valueObj isKindOfClass:[NSNumber class]]) {
|
} else if([valueObj isKindOfClass:[NSNumber class]]) {
|
||||||
NSNumber *numberValue = (NSNumber *)valueObj;
|
NSNumber *numberValue = (NSNumber *)valueObj;
|
||||||
firstValue = [numberValue stringValue];
|
firstValue = [numberValue stringValue];
|
||||||
values = @[firstValue];
|
values = @[firstValue];
|
||||||
|
genericValue = values;
|
||||||
} else if([valueObj isKindOfClass:[NSData class]]) {
|
} else if([valueObj isKindOfClass:[NSData class]]) {
|
||||||
dataValue = (NSData *)valueObj;
|
dataValue = (NSData *)valueObj;
|
||||||
|
genericValue = dataValue;
|
||||||
|
} else {
|
||||||
|
// Unknown object in metadata block
|
||||||
|
genericValue = valueObj;
|
||||||
}
|
}
|
||||||
if([lowerKey isEqualToString:@"bitrate"]) {
|
if([lowerKey isEqualToString:@"bitrate"]) {
|
||||||
self.bitrate = [firstValue intValue];
|
self.bitrate = [firstValue intValue];
|
||||||
|
@ -593,7 +601,7 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path) {
|
||||||
} else if([lowerKey isEqualToString:@"albumart"]) {
|
} else if([lowerKey isEqualToString:@"albumart"]) {
|
||||||
self.albumArt = dataValue;
|
self.albumArt = dataValue;
|
||||||
} else {
|
} else {
|
||||||
[metaDict setObject:values forKey:key];
|
[metaDict setObject:genericValue forKey:key];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.metadataBlob = [NSDictionary dictionaryWithDictionary:metaDict];
|
self.metadataBlob = [NSDictionary dictionaryWithDictionary:metaDict];
|
||||||
|
|
|
@ -578,6 +578,7 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
||||||
[containerQueue waitUntilAllOperationsAreFinished];
|
[containerQueue waitUntilAllOperationsAreFinished];
|
||||||
|
|
||||||
progress = weakProgress;
|
progress = weakProgress;
|
||||||
|
[self setProgressJobStatus:progress];
|
||||||
|
|
||||||
[containerTask finish];
|
[containerTask finish];
|
||||||
}
|
}
|
||||||
|
@ -682,8 +683,6 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
||||||
|
|
||||||
DLog(@"Valid urls: %@", validURLs);
|
DLog(@"Valid urls: %@", validURLs);
|
||||||
|
|
||||||
progress = 0.0;
|
|
||||||
|
|
||||||
// Create actual entries
|
// Create actual entries
|
||||||
int count = (int)[validURLs count];
|
int count = (int)[validURLs count];
|
||||||
if(xmlData) count += [[xmlData objectForKey:@"entries"] count];
|
if(xmlData) count += [[xmlData objectForKey:@"entries"] count];
|
||||||
|
@ -867,10 +866,10 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path);
|
||||||
|
|
||||||
double progressstep;
|
double progressstep;
|
||||||
|
|
||||||
if(metadataLoadInProgress && [queueThisJob count]) {
|
if(metadataLoadInProgress) {
|
||||||
progressstep = 100.0 / (double)([queueThisJob count] + 1);
|
progressstep = 100.0 / (double)([queueThisJob count] + 1);
|
||||||
progress = progressstep;
|
progress = progressstep;
|
||||||
} else if([queueThisJob count]) {
|
} else {
|
||||||
[self beginProgress:NSLocalizedString(@"ProgressActionLoadingMetadata", @"")];
|
[self beginProgress:NSLocalizedString(@"ProgressActionLoadingMetadata", @"")];
|
||||||
[self beginProgressJob:NSLocalizedString(@"ProgressSubActionLoadingMetadata", @"") percentOfTotal:50.0];
|
[self beginProgressJob:NSLocalizedString(@"ProgressSubActionLoadingMetadata", @"") percentOfTotal:50.0];
|
||||||
|
|
||||||
|
|
|
@ -157,12 +157,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
99B989F30CC7E10400C256E9 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "APL" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "APL" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -187,11 +187,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83D3C5F2201C674D005564CB = {
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83D3C5EE201C674D005564CB /* Build configuration list for PBXProject "AdPlug" */;
|
buildConfigurationList = 83D3C5EE201C674D005564CB /* Build configuration list for PBXProject "AdPlug" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -191,12 +191,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8359FF1617FEF35C0060F3ED = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8359FF1217FEF35C0060F3ED /* Build configuration list for PBXProject "ArchiveSource" */;
|
buildConfigurationList = 8359FF1217FEF35C0060F3ED /* Build configuration list for PBXProject "ArchiveSource" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -174,13 +174,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
839BCFD11965133E00947767 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 839BCFCD1965133E00947767 /* Build configuration list for PBXProject "BASSMODS" */;
|
buildConfigurationList = 839BCFCD1965133E00947767 /* Build configuration list for PBXProject "BASSMODS" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -161,12 +161,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "CoreAudio" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "CoreAudio" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -166,7 +166,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
asbdSize = sizeof(asbd);
|
asbdSize = sizeof(asbd);
|
||||||
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_FileDataFormat, &asbdSize, &asbd);
|
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_FileDataFormat, &asbdSize, &asbd);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
size = sizeof(total);
|
size = sizeof(total);
|
||||||
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_FileLengthFrames, &size, &total);
|
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_FileLengthFrames, &size, &total);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
totalFrames = total;
|
totalFrames = total;
|
||||||
|
@ -182,7 +182,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
size = sizeof(afi);
|
size = sizeof(afi);
|
||||||
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_AudioFile, &size, &afi);
|
err = ExtAudioFileGetProperty(_in, kExtAudioFileProperty_AudioFile, &size, &afi);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
if(err == kAudioFileUnsupportedPropertyError) {
|
if(err == kAudioFileUnsupportedPropertyError) {
|
||||||
formatBitsPerSample = 0; // floating point formats apparently don't return this any more
|
formatBitsPerSample = 0; // floating point formats apparently don't return this any more
|
||||||
} else {
|
} else {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,36 +202,36 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
size = sizeof(_bitrate);
|
size = sizeof(_bitrate);
|
||||||
err = AudioFileGetProperty(afi, kAudioFilePropertyBitRate, &size, &_bitrate);
|
err = AudioFileGetProperty(afi, kAudioFilePropertyBitRate, &size, &_bitrate);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = AudioFileGetPropertyInfo(afi, kAudioFilePropertyChannelLayout, &size, NULL);
|
err = AudioFileGetPropertyInfo(afi, kAudioFilePropertyChannelLayout, &size, NULL);
|
||||||
if(err != noErr || size == 0) {
|
if(err != noErr || size == 0) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
AudioChannelLayout *acl = malloc(size);
|
AudioChannelLayout *acl = malloc(size);
|
||||||
err = AudioFileGetProperty(afi, kAudioFilePropertyChannelLayout, &size, acl);
|
err = AudioFileGetProperty(afi, kAudioFilePropertyChannelLayout, &size, acl);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
free(acl);
|
free(acl);
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t config = 0;
|
uint32_t config = 0;
|
||||||
for(uint32_t i = 0; i < acl->mNumberChannelDescriptions; ++i) {
|
for(uint32_t i = 0; i < acl->mNumberChannelDescriptions; ++i) {
|
||||||
int channelNumber = ffat_get_channel_id(acl->mChannelDescriptions[i].mChannelLabel);
|
int channelNumber = ffat_get_channel_id(acl->mChannelDescriptions[i].mChannelLabel);
|
||||||
if(channelNumber >= 0) {
|
if(channelNumber >= 0 && channelNumber <= 31) {
|
||||||
if(config & (1 << channelNumber)) {
|
if(config & (1U << channelNumber)) {
|
||||||
free(acl);
|
free(acl);
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
config |= 1 << channelNumber;
|
config |= 1 << channelNumber;
|
||||||
} else {
|
} else {
|
||||||
free(acl);
|
free(acl);
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -246,7 +246,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
size = sizeof(formatName);
|
size = sizeof(formatName);
|
||||||
err = AudioFormatGetProperty(kAudioFormatProperty_FormatName, asbdSize, &asbd, &size, &formatName);
|
err = AudioFormatGetProperty(kAudioFormatProperty_FormatName, asbdSize, &asbd, &size, &formatName);
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -298,7 +298,7 @@ static SInt64 getSizeProc(void *clientData) {
|
||||||
|
|
||||||
err = ExtAudioFileSetProperty(_in, kExtAudioFileProperty_ClientDataFormat, sizeof(result), &result);
|
err = ExtAudioFileSetProperty(_in, kExtAudioFileProperty_ClientDataFormat, sizeof(result), &result);
|
||||||
if(noErr != err) {
|
if(noErr != err) {
|
||||||
err = ExtAudioFileDispose(_in);
|
/*err =*/ ExtAudioFileDispose(_in);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -191,12 +191,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "CueSheet" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "CueSheet" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
NSMutableArray *tracks = [NSMutableArray array];
|
NSMutableArray *tracks = [NSMutableArray array];
|
||||||
|
|
||||||
BOOL embedded = NO;
|
|
||||||
CueSheet *cuesheet = nil;
|
CueSheet *cuesheet = nil;
|
||||||
NSDictionary *fileMetadata;
|
NSDictionary *fileMetadata;
|
||||||
|
|
||||||
|
@ -79,7 +78,6 @@
|
||||||
if(sheetString && [sheetString length]) {
|
if(sheetString && [sheetString length]) {
|
||||||
cuesheet = [CueSheet cueSheetWithString:sheetString withFilename:[url path]];
|
cuesheet = [CueSheet cueSheetWithString:sheetString withFilename:[url path]];
|
||||||
}
|
}
|
||||||
embedded = YES;
|
|
||||||
} else
|
} else
|
||||||
cuesheet = [CueSheet cueSheetWithFile:[url path]];
|
cuesheet = [CueSheet cueSheetWithFile:[url path]];
|
||||||
|
|
||||||
|
|
|
@ -287,12 +287,6 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -246,12 +246,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "FFMPEG" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "FFMPEG" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -47,8 +47,6 @@
|
||||||
AVFormatContext *formatCtx = NULL;
|
AVFormatContext *formatCtx = NULL;
|
||||||
AVIOContext *ioCtx = NULL;
|
AVIOContext *ioCtx = NULL;
|
||||||
|
|
||||||
BOOL isStream = NO;
|
|
||||||
|
|
||||||
uint8_t *buffer = NULL;
|
uint8_t *buffer = NULL;
|
||||||
|
|
||||||
FFMPEGReader *reader = nil;
|
FFMPEGReader *reader = nil;
|
||||||
|
@ -61,8 +59,6 @@
|
||||||
[source close];
|
[source close];
|
||||||
source = nil;
|
source = nil;
|
||||||
|
|
||||||
isStream = YES;
|
|
||||||
|
|
||||||
formatCtx = avformat_alloc_context();
|
formatCtx = avformat_alloc_context();
|
||||||
if(!formatCtx) {
|
if(!formatCtx) {
|
||||||
ALog(@"Unable to allocate AVFormat context");
|
ALog(@"Unable to allocate AVFormat context");
|
||||||
|
@ -112,8 +108,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
int streamIndex = -1;
|
int streamIndex = -1;
|
||||||
int metadataIndex = -1;
|
//int metadataIndex = -1;
|
||||||
int attachedPicIndex = -1;
|
//int attachedPicIndex = -1;
|
||||||
AVCodecParameters *codecPar;
|
AVCodecParameters *codecPar;
|
||||||
|
|
||||||
for(i = 0; i < formatCtx->nb_streams; i++) {
|
for(i = 0; i < formatCtx->nb_streams; i++) {
|
||||||
|
@ -123,9 +119,9 @@
|
||||||
DLog(@"audio codec found");
|
DLog(@"audio codec found");
|
||||||
streamIndex = i;
|
streamIndex = i;
|
||||||
} else if(codecPar->codec_id == AV_CODEC_ID_TIMED_ID3) {
|
} else if(codecPar->codec_id == AV_CODEC_ID_TIMED_ID3) {
|
||||||
metadataIndex = i;
|
//metadataIndex = i;
|
||||||
} else if(stream->disposition & AV_DISPOSITION_ATTACHED_PIC) {
|
} else if(stream->disposition & AV_DISPOSITION_ATTACHED_PIC) {
|
||||||
attachedPicIndex = i;
|
//attachedPicIndex = i;
|
||||||
} else {
|
} else {
|
||||||
stream->discard = AVDISCARD_ALL;
|
stream->discard = AVDISCARD_ALL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -798,7 +798,7 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
|
||||||
|
|
||||||
int seekBytesSkip = 0;
|
int seekBytesSkip = 0;
|
||||||
|
|
||||||
int errcode;
|
int errcode = 0;
|
||||||
|
|
||||||
int8_t *targetBuf = (int8_t *)buf;
|
int8_t *targetBuf = (int8_t *)buf;
|
||||||
memset(buf, 0, bytesToRead);
|
memset(buf, 0, bytesToRead);
|
||||||
|
|
|
@ -185,12 +185,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "FileSource" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "FileSource" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -194,12 +194,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Flac" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Flac" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -233,12 +233,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "GME" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "GME" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -256,7 +256,7 @@ static size_t handle_icy_headers(size_t avail, HTTPSource *fp, char *ptr) {
|
||||||
|
|
||||||
fp->icyheader = 1;
|
fp->icyheader = 1;
|
||||||
|
|
||||||
// check for ternmination marker
|
// check for termination marker
|
||||||
if(avail >= 4 && !memcmp(ptr, "\r\n\r\n", 4)) {
|
if(avail >= 4 && !memcmp(ptr, "\r\n\r\n", 4)) {
|
||||||
avail -= 4;
|
avail -= 4;
|
||||||
ptr += 4;
|
ptr += 4;
|
||||||
|
|
|
@ -184,12 +184,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "HTTPSource" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "HTTPSource" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -428,12 +428,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8360EEE317F92AC8005208A4 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8360EEDF17F92AC8005208A4 /* Build configuration list for PBXProject "HighlyComplete" */;
|
buildConfigurationList = 8360EEDF17F92AC8005208A4 /* Build configuration list for PBXProject "HighlyComplete" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -756,8 +756,10 @@ static int load_twosf_mapz(struct twosf_loader_state *state, int issave, const u
|
||||||
|
|
||||||
{
|
{
|
||||||
uLong ccrc = crc32(crc32(0L, Z_NULL, 0), rdata, (uInt)usize);
|
uLong ccrc = crc32(crc32(0L, Z_NULL, 0), rdata, (uInt)usize);
|
||||||
if(ccrc != zcrc)
|
if(ccrc != zcrc) {
|
||||||
|
free(rdata);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = load_twosf_map(state, issave, rdata, (unsigned)usize);
|
ret = load_twosf_map(state, issave, rdata, (unsigned)usize);
|
||||||
|
|
|
@ -201,12 +201,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
836FB52C1820538700B3AD2D = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 836FB5281820538700B3AD2D /* Build configuration list for PBXProject "Hively" */;
|
buildConfigurationList = 836FB5281820538700B3AD2D /* Build configuration list for PBXProject "Hively" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -159,12 +159,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "M3u" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "M3u" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -399,12 +399,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83B06686180D5668008E3612 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83B06682180D5668008E3612 /* Build configuration list for PBXProject "MIDI" */;
|
buildConfigurationList = 83B06682180D5668008E3612 /* Build configuration list for PBXProject "MIDI" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -198,12 +198,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Musepack" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Musepack" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -182,11 +182,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83E5EFA21FFEF78100659F0F = {
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83E5EF9E1FFEF78100659F0F /* Build configuration list for PBXProject "OpenMPT" */;
|
buildConfigurationList = 83E5EF9E1FFEF78100659F0F /* Build configuration list for PBXProject "OpenMPT" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -174,12 +174,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8375B03B17FFEA400092A79F = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8375B03717FFEA400092A79F /* Build configuration list for PBXProject "OpusPlugin" */;
|
buildConfigurationList = 8375B03717FFEA400092A79F /* Build configuration list for PBXProject "OpusPlugin" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -159,12 +159,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Pls" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Pls" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -196,12 +196,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Shorten" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Shorten" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -115,12 +115,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83F9D7E61A884B44007ABEC2 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83F9D7E21A884B44007ABEC2 /* Build configuration list for PBXProject "SilenceDecoder" */;
|
buildConfigurationList = 83F9D7E21A884B44007ABEC2 /* Build configuration list for PBXProject "SilenceDecoder" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -203,12 +203,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "TagLib" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "TagLib" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -218,12 +218,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "VorbisPlugin" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "VorbisPlugin" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -170,12 +170,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "WavPack" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "WavPack" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -218,12 +218,6 @@
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
TargetAttributes = {
|
|
||||||
8D5B49AC048680CD000E48DA = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "libvgmPlayer" */;
|
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "libvgmPlayer" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -1,76 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Scheme
|
|
||||||
LastUpgradeVersion = "1640"
|
|
||||||
version = "1.3">
|
|
||||||
<BuildAction
|
|
||||||
parallelizeBuildables = "YES"
|
|
||||||
buildImplicitDependencies = "YES">
|
|
||||||
<BuildActionEntries>
|
|
||||||
<BuildActionEntry
|
|
||||||
buildForTesting = "YES"
|
|
||||||
buildForRunning = "YES"
|
|
||||||
buildForProfiling = "YES"
|
|
||||||
buildForArchiving = "YES"
|
|
||||||
buildForAnalyzing = "YES">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "8D5B49AC048680CD000E48DA"
|
|
||||||
BuildableName = "GME.bundle"
|
|
||||||
BlueprintName = "GME Plugin"
|
|
||||||
ReferencedContainer = "container:GME.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildActionEntry>
|
|
||||||
</BuildActionEntries>
|
|
||||||
</BuildAction>
|
|
||||||
<TestAction
|
|
||||||
buildConfiguration = "Debug"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
||||||
<Testables>
|
|
||||||
</Testables>
|
|
||||||
</TestAction>
|
|
||||||
<LaunchAction
|
|
||||||
buildConfiguration = "Debug"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
launchStyle = "0"
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
ignoresPersistentStateOnLaunch = "NO"
|
|
||||||
debugDocumentVersioning = "YES"
|
|
||||||
debugServiceExtension = "internal"
|
|
||||||
allowLocationSimulation = "YES">
|
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "8D5B49AC048680CD000E48DA"
|
|
||||||
BuildableName = "GME.bundle"
|
|
||||||
BlueprintName = "GME Plugin"
|
|
||||||
ReferencedContainer = "container:GME.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
</LaunchAction>
|
|
||||||
<ProfileAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
||||||
savedToolIdentifier = ""
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
debugDocumentVersioning = "YES">
|
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "8D5B49AC048680CD000E48DA"
|
|
||||||
BuildableName = "GME.bundle"
|
|
||||||
BlueprintName = "GME Plugin"
|
|
||||||
ReferencedContainer = "container:GME.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
</ProfileAction>
|
|
||||||
<AnalyzeAction
|
|
||||||
buildConfiguration = "Debug">
|
|
||||||
</AnalyzeAction>
|
|
||||||
<ArchiveAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
revealArchiveInOrganizer = "YES">
|
|
||||||
</ArchiveAction>
|
|
||||||
</Scheme>
|
|
|
@ -15,9 +15,9 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
||||||
BuildableName = "MAD.bundle"
|
BuildableName = "minimp3.bundle"
|
||||||
BlueprintName = "MAD"
|
BlueprintName = "minimp3"
|
||||||
ReferencedContainer = "container:MAD.xcodeproj">
|
ReferencedContainer = "container:minimp3.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</EnvironmentBuildable>
|
</EnvironmentBuildable>
|
||||||
</ActionContent>
|
</ActionContent>
|
||||||
|
@ -33,9 +33,9 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
||||||
BuildableName = "MAD.bundle"
|
BuildableName = "minimp3.bundle"
|
||||||
BlueprintName = "MAD"
|
BlueprintName = "minimp3"
|
||||||
ReferencedContainer = "container:MAD.xcodeproj">
|
ReferencedContainer = "container:minimp3.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
</BuildActionEntries>
|
</BuildActionEntries>
|
||||||
|
@ -69,9 +69,9 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
BlueprintIdentifier = "8372C92227C785BD00E250C9"
|
||||||
BuildableName = "MAD.bundle"
|
BuildableName = "minimp3.bundle"
|
||||||
BlueprintName = "MAD"
|
BlueprintName = "minimp3"
|
||||||
ReferencedContainer = "container:MAD.xcodeproj">
|
ReferencedContainer = "container:minimp3.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</MacroExpansion>
|
</MacroExpansion>
|
||||||
</ProfileAction>
|
</ProfileAction>
|
|
@ -227,13 +227,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83F4D51418D8206A009B2DE6 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83F4D51018D8206A009B2DE6 /* Build configuration list for PBXProject "modplay" */;
|
buildConfigurationList = 83F4D51018D8206A009B2DE6 /* Build configuration list for PBXProject "modplay" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -236,13 +236,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastUpgradeCheck = 0900;
|
LastUpgradeCheck = 0900;
|
||||||
ORGANIZATIONNAME = "Christopher Snowhill";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
83A0F46E1816CE5E00119DB4 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83A0F46A1816CE5E00119DB4 /* Build configuration list for PBXProject "playptmod" */;
|
buildConfigurationList = 83A0F46A1816CE5E00119DB4 /* Build configuration list for PBXProject "playptmod" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
|
|
@ -178,12 +178,6 @@
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 1620;
|
LastUpgradeCheck = 1620;
|
||||||
ORGANIZATIONNAME = "";
|
ORGANIZATIONNAME = "";
|
||||||
TargetAttributes = {
|
|
||||||
8314D6301A354DFE00EEE8E6 = {
|
|
||||||
DevelopmentTeam = "";
|
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
buildConfigurationList = 8314D62C1A354DFE00EEE8E6 /* Build configuration list for PBXProject "sidplay" */;
|
buildConfigurationList = 8314D62C1A354DFE00EEE8E6 /* Build configuration list for PBXProject "sidplay" */;
|
||||||
compatibilityVersion = "Xcode 12.0";
|
compatibilityVersion = "Xcode 12.0";
|
||||||
|
|
|
@ -197,7 +197,6 @@
|
||||||
[panel setCanChooseFiles:NO];
|
[panel setCanChooseFiles:NO];
|
||||||
[panel setFloatingPanel:YES];
|
[panel setFloatingPanel:YES];
|
||||||
[panel setDirectoryURL:[NSURL fileURLWithPath:pi.path]];
|
[panel setDirectoryURL:[NSURL fileURLWithPath:pi.path]];
|
||||||
[panel setTitle:@"Open to add path"];
|
|
||||||
NSInteger result = [panel runModal];
|
NSInteger result = [panel runModal];
|
||||||
if(result == NSModalResponseOK) {
|
if(result == NSModalResponseOK) {
|
||||||
[sandboxPathBehaviorController addUrl:[panel URL]];
|
[sandboxPathBehaviorController addUrl:[panel URL]];
|
||||||
|
|
|
@ -600,7 +600,6 @@
|
||||||
INSTALL_PATH = "$(HOME)/Library/Bundles";
|
INSTALL_PATH = "$(HOME)/Library/Bundles";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences;
|
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences;
|
||||||
PRODUCT_NAME = Preferences;
|
PRODUCT_NAME = Preferences;
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
WRAPPER_EXTENSION = preferencePane;
|
WRAPPER_EXTENSION = preferencePane;
|
||||||
ZERO_LINK = YES;
|
ZERO_LINK = YES;
|
||||||
|
@ -621,7 +620,6 @@
|
||||||
INSTALL_PATH = "$(HOME)/Library/Bundles";
|
INSTALL_PATH = "$(HOME)/Library/Bundles";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences;
|
PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences;
|
||||||
PRODUCT_NAME = Preferences;
|
PRODUCT_NAME = Preferences;
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
WRAPPER_EXTENSION = preferencePane;
|
WRAPPER_EXTENSION = preferencePane;
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
@interface NSDictionary (Optional)
|
@interface NSDictionary (Optional)
|
||||||
|
|
||||||
+ (NSDictionary *)initWithOptionalObjects:(const id _Nonnull [_Nullable])objects forKeys:(id<NSCopying> const[])keys count:(NSUInteger)cnt;
|
+ (NSDictionary *_Nonnull)initWithOptionalObjects:(const id _Nullable [_Nullable])objects forKeys:(id<NSCopying> const _Nullable [_Nullable])keys count:(NSUInteger)cnt;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -2,11 +2,13 @@
|
||||||
|
|
||||||
@implementation NSDictionary (Optional)
|
@implementation NSDictionary (Optional)
|
||||||
|
|
||||||
+ (NSDictionary *)initWithOptionalObjects:(const id _Nonnull [_Nullable])objects forKeys:(id<NSCopying> const[])keys count:(NSUInteger)cnt {
|
+ (NSDictionary *_Nonnull)initWithOptionalObjects:(const id _Nullable [_Nullable])objects forKeys:(id<NSCopying> const _Nullable [_Nullable])keys count:(NSUInteger)cnt {
|
||||||
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init];
|
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init];
|
||||||
for(NSUInteger i = 0; i < cnt; ++i) {
|
if(keys && objects && cnt) {
|
||||||
if(keys[i] && objects[i]) {
|
for(NSUInteger i = 0; i < cnt; ++i) {
|
||||||
[dictionary setObject:objects[i] forKey:keys[i]];
|
if(keys[i] && objects[i]) {
|
||||||
|
[dictionary setObject:objects[i] forKey:keys[i]];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [NSDictionary dictionaryWithDictionary:dictionary];
|
return [NSDictionary dictionaryWithDictionary:dictionary];
|
||||||
|
|
|
@ -15,7 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
+ (SandboxBroker *)sharedSandboxBroker;
|
+ (SandboxBroker *)sharedSandboxBroker;
|
||||||
|
|
||||||
+ (NSURL *)urlWithoutFragment:(NSURL *)url;
|
+ (NSURL *_Nullable)urlWithoutFragment:(NSURL *)url;
|
||||||
+ (BOOL)isPath:(NSURL *)path aSubdirectoryOf:(NSURL *)directory;
|
+ (BOOL)isPath:(NSURL *)path aSubdirectoryOf:(NSURL *)directory;
|
||||||
|
|
||||||
+ (void)cleanupFolderAccess;
|
+ (void)cleanupFolderAccess;
|
||||||
|
@ -28,8 +28,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
- (void)requestFolderForFile:(NSURL *)fileUrl;
|
- (void)requestFolderForFile:(NSURL *)fileUrl;
|
||||||
|
|
||||||
- (const void *)beginFolderAccess:(NSURL *)fileUrl;
|
- (const void *_Nullable)beginFolderAccess:(NSURL *)fileUrl;
|
||||||
- (void)endFolderAccess:(const void *)handle;
|
- (void)endFolderAccess:(const void *_Nullable)handle;
|
||||||
|
|
||||||
- (BOOL)areAllPathsSafe:(NSArray *)urls;
|
- (BOOL)areAllPathsSafe:(NSArray *)urls;
|
||||||
|
|
||||||
|
|
|
@ -96,11 +96,11 @@ static SandboxBroker *kSharedSandboxBroker = nil;
|
||||||
return [NSClassFromString(@"PlaylistController") sharedPersistentContainer];
|
return [NSClassFromString(@"PlaylistController") sharedPersistentContainer];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSURL *)urlWithoutFragment:(NSURL *)url {
|
+ (NSURL *_Nullable)urlWithoutFragment:(NSURL *)url {
|
||||||
if(![url isFileURL]) return url;
|
if(![url isFileURL]) return url;
|
||||||
|
|
||||||
NSString *s = [url path];
|
NSString *s = [url path];
|
||||||
if(!s) return NULL; // Cool, the resource no longer exists!
|
if(!s) return nil; // Cool, the resource no longer exists!
|
||||||
|
|
||||||
NSRange fragmentRange = [s rangeOfString:@"#"
|
NSRange fragmentRange = [s rangeOfString:@"#"
|
||||||
options:NSBackwardsSearch];
|
options:NSBackwardsSearch];
|
||||||
|
@ -116,12 +116,12 @@ static SandboxBroker *kSharedSandboxBroker = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)init {
|
- (id)init {
|
||||||
id _self = [super init];
|
self = [super init];
|
||||||
if(_self) {
|
if(self) {
|
||||||
storage = [[NSMutableArray alloc] init];
|
storage = [[NSMutableArray alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
return _self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)shutdown {
|
- (void)shutdown {
|
||||||
|
@ -421,7 +421,7 @@ static inline void dispatch_async_reentrant(dispatch_queue_t queue, dispatch_blo
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (const void *)beginFolderAccess:(NSURL *)fileUrl {
|
- (const void *_Nullable)beginFolderAccess:(NSURL *)fileUrl {
|
||||||
if(!fileUrl) return NULL;
|
if(!fileUrl) return NULL;
|
||||||
NSURL *folderUrl = [SandboxBroker urlWithoutFragment:fileUrl];
|
NSURL *folderUrl = [SandboxBroker urlWithoutFragment:fileUrl];
|
||||||
if(!folderUrl || ![folderUrl isFileURL]) return NULL;
|
if(!folderUrl || ![folderUrl isFileURL]) return NULL;
|
||||||
|
@ -459,7 +459,7 @@ static inline void dispatch_async_reentrant(dispatch_queue_t queue, dispatch_blo
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)endFolderAccess:(const void *)handle {
|
- (void)endFolderAccess:(const void *_Nullable)handle {
|
||||||
if(!handle) return;
|
if(!handle) return;
|
||||||
SandboxEntry *entry = CFBridgingRelease(handle);
|
SandboxEntry *entry = CFBridgingRelease(handle);
|
||||||
if(!entry) return;
|
if(!entry) return;
|
||||||
|
|
|
@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
@property(nonatomic) BOOL isListening;
|
@property(nonatomic) BOOL isListening;
|
||||||
@property(nonatomic) BOOL isWorking;
|
@property(nonatomic) BOOL isWorking;
|
||||||
|
|
||||||
+ (SpectrumViewSK *)createGuardWithFrame:(NSRect)frame;
|
+ (SpectrumViewSK *_Nullable)createGuardWithFrame:(NSRect)frame;
|
||||||
|
|
||||||
- (void)enableCameraControl;
|
- (void)enableCameraControl;
|
||||||
- (void)startPlayback;
|
- (void)startPlayback;
|
||||||
|
|
|
@ -56,7 +56,7 @@ extern NSString *CogPlaybackDidStopNotificiation;
|
||||||
|
|
||||||
@implementation SpectrumViewSK
|
@implementation SpectrumViewSK
|
||||||
|
|
||||||
+ (SpectrumViewSK *)createGuardWithFrame:(NSRect)frame {
|
+ (SpectrumViewSK *_Nullable)createGuardWithFrame:(NSRect)frame {
|
||||||
if (![NSUserDefaults.standardUserDefaults boolForKey:@"spectrumSceneKit"])
|
if (![NSUserDefaults.standardUserDefaults boolForKey:@"spectrumSceneKit"])
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue