Fixed pan bug (again)

Reduced the debug output
The volune range is 0 -100 and dbtorms is used in pure data to make the
scale logarithm
This commit is contained in:
Santi Noreña 2014-07-15 20:03:14 +02:00
parent 6e268323d2
commit 5cfd9f7a10
11 changed files with 43 additions and 29 deletions

View file

@ -3,19 +3,24 @@
AudioLayerWidget::AudioLayerWidget(QWidget *parent, QString name):
QGroupBox(parent)
{
Q_UNUSED(parent);
this->setTitle(name);
folder = new QLabel(this);
folder->setMaximumWidth(150);
file = new QLabel(this);
file->setMaximumWidth(150);
status = new QLabel(this);
vol = new QSlider(this);
vol = new QSlider(Qt::Horizontal, this);
vol->setMaximum(99);
mute = new QCheckBox(this);
vol->setMaximumWidth(150);
// mute = new QCheckBox(this);
QVBoxLayout *vbox = new QVBoxLayout;
vbox->addWidget(folder);
vbox->addWidget(file);
vbox->addWidget(status);
vbox->addWidget(vol);
vbox->addWidget(mute);
// vbox->addWidget(mute);
this->setLayout(vbox);
}