Browse Source

Still trying to understand the MacOs no sound issue, but no luck...Sigh.

tags/v100_p5
xenakios 7 years ago
parent
commit
adc6505424
4 changed files with 9 additions and 5 deletions
  1. +3
    -2
      Source/PS_Source/Input/AInputS.h
  2. +3
    -1
      Source/PluginEditor.cpp
  3. +2
    -1
      Source/PluginProcessor.cpp
  4. +1
    -1
      paulstretchplugin.jucer

+ 3
- 2
Source/PS_Source/Input/AInputS.h View File

@@ -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;
};

+ 3
- 1
Source/PluginEditor.cpp View File

@@ -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);
}
}



+ 2
- 1
Source/PluginProcessor.cpp View File

@@ -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)


+ 1
- 1
paulstretchplugin.jucer View File

@@ -57,7 +57,7 @@
<CONFIGURATION name="Debug" enablePluginBinaryCopyStep="1" isDebug="1" optimisation="1"
linkTimeOptimisation="0" targetName="paulstretchplugin" headerPath="Source/PS_Source&#10;Source/WDL&#10;"
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&#10;Source/WDL&#10;"
osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" cppLibType="libc++"


Loading…
Cancel
Save