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()
|
||||
{
|
||||
#ifdef WIN32
|
||||
File initialloc("C:/MusicAudio/sourcesamples");
|
||||
#else
|
||||
File initialloc("/Users/teemu/AudioProjects/sourcesamples");
|
||||
#endif
|
||||
File initialloc = File::getSpecialLocation(File::userHomeDirectory);
|
||||
FileChooser myChooser("Please select audio file...",
|
||||
initialloc,
|
||||
"*.wav",true);
|
||||
|
@ -86,7 +86,7 @@
|
||||
headerPath="Source/PS_Source Source/WDL " vstBinaryLocation="C:\VSTPlugins_64bit"/>
|
||||
<CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
|
||||
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"
|
||||
useRuntimeLibDLL="0"/>
|
||||
</CONFIGURATIONS>
|
||||
|
Loading…
Reference in New Issue
Block a user