Still trying to understand the MacOs no sound issue, but no luck...Sigh.
This commit is contained in:
parent
3fd0b4ea09
commit
adc6505424
@ -207,7 +207,8 @@ public:
|
||||
m_cached_file_range = { 0,m_readbuf.getNumSamples() };
|
||||
return;
|
||||
}
|
||||
if (m_afreader==nullptr)
|
||||
//jassert(m_afreader!=nullptr);
|
||||
if (m_afreader==nullptr)
|
||||
return;
|
||||
m_loopcount = 0;
|
||||
m_silenceoutputted = 0;
|
||||
@ -295,7 +296,7 @@ private:
|
||||
int m_xfadelen = 0;
|
||||
bool m_reverseplay = false;
|
||||
int64_t m_loopcount = 0;
|
||||
bool m_using_memory_buffer = false;
|
||||
bool m_using_memory_buffer = true;
|
||||
AudioFormatManager* m_manager = nullptr;
|
||||
std::mutex m_mutex;
|
||||
};
|
||||
|
@ -106,7 +106,9 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
|
||||
m_wavecomponent.setRecordingPosition(processor.getRecordingPositionPercent());
|
||||
} else
|
||||
m_wavecomponent.setRecordingPosition(-1.0);
|
||||
m_info_label.setText(String(processor.m_control->getStretchAudioSource()->m_param_change_count), dontSendNotification);
|
||||
//m_info_label.setText(String(processor.m_control->getStretchAudioSource()->m_param_change_count), dontSendNotification);
|
||||
double prebufavail=processor.m_control->getPreBufferingPercent();
|
||||
m_info_label.setText(String(prebufavail,1), dontSendNotification);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -280,7 +280,8 @@ void PaulstretchpluginAudioProcessor::getStateInformation (MemoryBlock& destData
|
||||
|
||||
void PaulstretchpluginAudioProcessor::setStateInformation (const void* data, int sizeInBytes)
|
||||
{
|
||||
ValueTree tree = ValueTree::readFromData(data, sizeInBytes);
|
||||
return;
|
||||
ValueTree tree = ValueTree::readFromData(data, sizeInBytes);
|
||||
if (tree.isValid())
|
||||
{
|
||||
for (int i = 0; i<getNumParameters(); ++i)
|
||||
|
@ -57,7 +57,7 @@
|
||||
<CONFIGURATION name="Debug" enablePluginBinaryCopyStep="1" isDebug="1" optimisation="1"
|
||||
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
||||
libraryPath="/usr/local/Cellar/fftw/3.3.6-pl2/lib" cppLibType="libc++"
|
||||
osxArchitecture="64BitIntel" osxCompatibility="10.12 SDK"/>
|
||||
osxArchitecture="64BitIntel" osxCompatibility="10.9 SDK" osxSDK="default"/>
|
||||
<CONFIGURATION name="Release" enablePluginBinaryCopyStep="1" isDebug="0" optimisation="3"
|
||||
linkTimeOptimisation="1" targetName="paulstretchplugin" headerPath="Source/PS_Source Source/WDL "
|
||||
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"
|
||||
|
Loading…
Reference in New Issue
Block a user