Add option to capture only when host transport active. Add option to always pass input audio through. That should probably be a plugin parameter though...

This commit is contained in:
xenakios
2017-12-20 20:33:34 +02:00
parent 8c57fcce0d
commit 0052c77bbb
3 changed files with 21 additions and 2 deletions

View File

@ -225,6 +225,7 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
PopupMenu menu;
menu.addItem(1, "Play when host transport running", true, processor.m_play_when_host_plays);
menu.addItem(2, "Capture when host transport running", true, processor.m_capture_when_host_plays);
menu.addItem(3, "Always pass audio input through", true, processor.m_pass_input_through);
//menu.addItem(3, "Prebuffering", true, processor.m_use_backgroundbuffering);
PopupMenu bufferingmenu;
int curbufamount = processor.getPreBufferAmount();
@ -244,6 +245,10 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
{
processor.m_capture_when_host_plays = !processor.m_capture_when_host_plays;
}
if (r == 3)
{
processor.m_pass_input_through = !processor.m_pass_input_through;
}
if (r >= 100 && r < 200)
{
if (r == 100)