update to support juce 6.1. added mute audio while processing capture option. added a mac specific priority fix. use async popup menus and browsers where needed.

This commit is contained in:
essej
2022-04-02 12:45:02 -04:00
parent 86f1a8c594
commit 8c4a20ecd6
10 changed files with 188 additions and 81 deletions

View File

@ -157,7 +157,7 @@ void StretchAudioSource::setAudioBufferAsInputSource(AudioBuffer<float>* buf, in
ScopedLock locker(m_cs);
m_inputfile->setAudioBuffer(buf, sr, len);
m_seekpos = 0.0;
m_audiobuffer_is_source = true;
m_curfile = File();
if (m_playrange.isEmpty())
setPlayRange({ 0.0,1.0 });
@ -512,6 +512,7 @@ String StretchAudioSource::setAudioFile(File file)
{
m_curfile = file;
m_firstbuffer = true;
m_audiobuffer_is_source = false;
return String();
}
return "Could not open file";