mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Re-saved all projects
This commit is contained in:
parent
da07dad30d
commit
d9b2a61454
12 changed files with 45 additions and 40 deletions
|
|
@ -587,37 +587,42 @@ private:
|
|||
{
|
||||
audioFileReader.stop();
|
||||
|
||||
if (fileChooser == nullptr)
|
||||
if (fileChooser != nullptr)
|
||||
return;
|
||||
|
||||
SafePointer<AudioPlayerHeader> safeThis (this);
|
||||
|
||||
if (! RuntimePermissions::isGranted (RuntimePermissions::readExternalStorage))
|
||||
{
|
||||
SafePointer<AudioPlayerHeader> safeThis (this);
|
||||
|
||||
if (! RuntimePermissions::isGranted (RuntimePermissions::readExternalStorage))
|
||||
{
|
||||
RuntimePermissions::request (RuntimePermissions::readExternalStorage,
|
||||
[safeThis] (bool granted) mutable
|
||||
{
|
||||
if (granted)
|
||||
safeThis->openFile();
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
fileChooser.reset (new FileChooser ("Select an audio file...", File(), "*.wav;*.mp3;*.aif"));
|
||||
|
||||
fileChooser->launchAsync (FileBrowserComponent::openMode | FileBrowserComponent::canSelectFiles,
|
||||
[safeThis] (const FileChooser& fc) mutable
|
||||
{
|
||||
if (safeThis != nullptr && fc.getURLResults().size() > 0)
|
||||
{
|
||||
auto u = fc.getURLResult();
|
||||
|
||||
if (! safeThis->audioFileReader.loadURL (u))
|
||||
NativeMessageBox::showOkCancelBox (AlertWindow::WarningIcon, "Error loading file", "Unable to load audio file", nullptr, nullptr);
|
||||
else
|
||||
safeThis->thumbnailComp.setCurrentURL (u);
|
||||
}
|
||||
}, nullptr);
|
||||
RuntimePermissions::request (RuntimePermissions::readExternalStorage,
|
||||
[safeThis] (bool granted) mutable
|
||||
{
|
||||
if (granted)
|
||||
safeThis->openFile();
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
fileChooser.reset (new FileChooser ("Select an audio file...", File(), "*.wav;*.mp3;*.aif"));
|
||||
|
||||
fileChooser->launchAsync (FileBrowserComponent::openMode | FileBrowserComponent::canSelectFiles,
|
||||
[safeThis] (const FileChooser& fc) mutable
|
||||
{
|
||||
if (safeThis == nullptr)
|
||||
return;
|
||||
|
||||
if (fc.getURLResults().size() > 0)
|
||||
{
|
||||
auto u = fc.getURLResult();
|
||||
|
||||
if (! safeThis->audioFileReader.loadURL (u))
|
||||
NativeMessageBox::showOkCancelBox (AlertWindow::WarningIcon, "Error loading file", "Unable to load audio file", nullptr, nullptr);
|
||||
else
|
||||
safeThis->thumbnailComp.setCurrentURL (u);
|
||||
}
|
||||
|
||||
safeThis->fileChooser = nullptr;
|
||||
}, nullptr);
|
||||
}
|
||||
|
||||
void changeListenerCallback (ChangeBroadcaster*) override
|
||||
|
|
|
|||
|
|
@ -1287,7 +1287,7 @@
|
|||
AC6F0E9A0809A184B2C2B7DE = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 80E8AD1971F52B06F4D28891;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 291E01DCBE746A376DBFA4D1 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 291E01DCBE746A376DBFA4D1 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 91A9A0FE9DF4F4E10009EEC7;
|
||||
|
|
|
|||
|
|
@ -1274,7 +1274,7 @@
|
|||
AC6F0E9A0809A184B2C2B7DE = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 80E8AD1971F52B06F4D28891;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 291E01DCBE746A376DBFA4D1 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; com.apple.iCloud = { enabled = 1; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 291E01DCBE746A376DBFA4D1 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; com.apple.iCloud = { enabled = 1; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 91A9A0FE9DF4F4E10009EEC7;
|
||||
|
|
|
|||
|
|
@ -800,7 +800,7 @@
|
|||
9CE2A44801B5B4BE7A9667DA = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 7097CF6AC086DAC346ACCCD9;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { E9FD2656EC625C9C8DE30219 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { E9FD2656EC625C9C8DE30219 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 3BA1BA0CAFE969E99950C06B;
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@
|
|||
9CE2A44801B5B4BE7A9667DA = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 7097CF6AC086DAC346ACCCD9;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { E9FD2656EC625C9C8DE30219 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { E9FD2656EC625C9C8DE30219 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 3BA1BA0CAFE969E99950C06B;
|
||||
|
|
|
|||
|
|
@ -1101,7 +1101,7 @@
|
|||
ADE6E539DB98A302483A82D0 = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 493C2C5E457692E5149C5525;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { DE12B7643D374BFF7E4FEB1C = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { DE12B7643D374BFF7E4FEB1C = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 65BEFC705A89E5C8A9E35C97;
|
||||
|
|
|
|||
|
|
@ -1131,7 +1131,7 @@
|
|||
ADE6E539DB98A302483A82D0 = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 493C2C5E457692E5149C5525;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { DE12B7643D374BFF7E4FEB1C = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { DE12B7643D374BFF7E4FEB1C = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 65BEFC705A89E5C8A9E35C97;
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@
|
|||
36B6F402BC83F21646259DEF = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = E4C85B0464A93027D035AA1F;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = C18D022743CF5BD14D6A6A9E;
|
||||
|
|
|
|||
|
|
@ -950,7 +950,7 @@
|
|||
A5398ADB6F5B128C00EB935C = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 02715337C584F3C721251428;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 4311FBCBD02948A0ED96C7DD = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 4311FBCBD02948A0ED96C7DD = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = D2EB65517396C974F0415A7F;
|
||||
|
|
|
|||
|
|
@ -993,7 +993,7 @@
|
|||
A5398ADB6F5B128C00EB935C = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 02715337C584F3C721251428;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 4311FBCBD02948A0ED96C7DD = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 4311FBCBD02948A0ED96C7DD = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = D2EB65517396C974F0415A7F;
|
||||
|
|
|
|||
|
|
@ -3523,7 +3523,7 @@
|
|||
74EA481348A24104E6ACE009 = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = F90407F24422C589DA251604;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 0039FE1A254FE518518BF8B8 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; TargetAttributes = { 0039FE1A254FE518518BF8B8 = { SystemCapabilities = {com.apple.ApplicationGroups.iOS = { enabled = 0; }; com.apple.InAppPurchase = { enabled = 0; }; com.apple.InterAppAudio = { enabled = 0; }; com.apple.Push = { enabled = 0; }; com.apple.Sandbox = { enabled = 0; }; com.apple.HardenedRuntime = { enabled = 0; }; }; }; }; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 3CC531922CC2D398E283A845;
|
||||
|
|
|
|||
|
|
@ -1024,7 +1024,7 @@
|
|||
E1E93F2B4B2D17E011395520 = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 18FC121B1014F7999CD135D3;
|
||||
attributes = { LastUpgradeCheck = 1220; ORGANIZATIONNAME = "Raw Material Software Limited"; };
|
||||
attributes = { LastUpgradeCheck = 1230; ORGANIZATIONNAME = "Raw Material Software Limited"; };
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 0;
|
||||
mainGroup = 99F3717D3FEAFDCA3C22E868;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue