mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2026-06-03 21:41:38 +00:00
removed mic input as the worker threads were causing high cpu and it's not reliable anyway fixes #12
This commit is contained in:
@@ -168,7 +168,9 @@ void audio_thread::process(sample &left_in, sample &right_in, sample &left_out,
|
||||
m_right_renderer->reset();
|
||||
}
|
||||
if (name=="/mic") {
|
||||
m_mic_mode = cmd.get_int(0);
|
||||
//m_mic_mode = cmd.get_int(0);
|
||||
//if (m_mic_mode==1) m_block_stream->start();
|
||||
//else m_block_stream->stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'samplebrainroEYjX.ui'
|
||||
** Form generated from reading UI file 'samplebrainMIzspU.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.12.8
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef SAMPLEBRAINROEYJX_H
|
||||
#define SAMPLEBRAINROEYJX_H
|
||||
#ifndef SAMPLEBRAINMIZSPU_H
|
||||
#define SAMPLEBRAINMIZSPU_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
@@ -603,9 +603,11 @@ public:
|
||||
|
||||
mic = new QCheckBox(controlTab);
|
||||
mic->setObjectName(QString::fromUtf8("mic"));
|
||||
mic->setEnabled(false);
|
||||
QFont font3;
|
||||
font3.setFamily(QString::fromUtf8("Comic Sans MS"));
|
||||
mic->setFont(font3);
|
||||
mic->setCheckable(true);
|
||||
|
||||
verticalLayout_6->addWidget(mic);
|
||||
|
||||
@@ -1054,7 +1056,7 @@ public:
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "samplebrain 0.18", nullptr));
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "samplebrain 0.18.1", nullptr));
|
||||
label_19->setText(QApplication::translate("MainWindow", "brain tweaks", nullptr));
|
||||
label_6->setText(QApplication::translate("MainWindow", "fft / mfcc", nullptr));
|
||||
#ifndef QT_NO_TOOLTIP
|
||||
@@ -1204,4 +1206,4 @@ namespace Ui {
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // SAMPLEBRAINROEYJX_H
|
||||
#endif // SAMPLEBRAINMIZSPU_H
|
||||
|
||||
Reference in New Issue
Block a user