Use home directory for import file dialog initial location
This commit is contained in:
parent
11be9bfde5
commit
9cad298ef3
@ -154,11 +154,7 @@ void PaulstretchpluginAudioProcessorEditor::addAudioBlock(AudioBuffer<float>& bu
|
|||||||
|
|
||||||
void PaulstretchpluginAudioProcessorEditor::chooseFile()
|
void PaulstretchpluginAudioProcessorEditor::chooseFile()
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
File initialloc = File::getSpecialLocation(File::userHomeDirectory);
|
||||||
File initialloc("C:/MusicAudio/sourcesamples");
|
|
||||||
#else
|
|
||||||
File initialloc("/Users/teemu/AudioProjects/sourcesamples");
|
|
||||||
#endif
|
|
||||||
FileChooser myChooser("Please select audio file...",
|
FileChooser myChooser("Please select audio file...",
|
||||||
initialloc,
|
initialloc,
|
||||||
"*.wav",true);
|
"*.wav",true);
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
headerPath="Source/PS_Source Source/WDL " vstBinaryLocation="C:\VSTPlugins_64bit"/>
|
headerPath="Source/PS_Source Source/WDL " vstBinaryLocation="C:\VSTPlugins_64bit"/>
|
||||||
<CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
|
<CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
|
||||||
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
||||||
linkTimeOptimisation="0" isDebug="0" optimisation="3" targetName="PaulXStretch"
|
linkTimeOptimisation="1" isDebug="0" optimisation="3" targetName="PaulXStretch"
|
||||||
headerPath="Source/PS_Source Source/WDL " vstBinaryLocation="C:\VSTPlugins_64bit"
|
headerPath="Source/PS_Source Source/WDL " vstBinaryLocation="C:\VSTPlugins_64bit"
|
||||||
useRuntimeLibDLL="0"/>
|
useRuntimeLibDLL="0"/>
|
||||||
</CONFIGURATIONS>
|
</CONFIGURATIONS>
|
||||||
|
Loading…
Reference in New Issue
Block a user