puliendo
This commit is contained in:
parent
7a9c0cd0ac
commit
0979c3608e
5 changed files with 5 additions and 15 deletions
|
@ -172,7 +172,6 @@ void AudioLayerWidget::setMediaFile(QString file)
|
|||
m_folderValue->setText(list.at(size - 2));
|
||||
m_fileValue->setText(list.at(size - 1));
|
||||
}
|
||||
this->setPlaybackStatus(Status::Stopped);
|
||||
}
|
||||
|
||||
void AudioLayerWidget::setPlaybackStatus(Status s)
|
||||
|
@ -180,8 +179,6 @@ void AudioLayerWidget::setPlaybackStatus(Status s)
|
|||
Status status = static_cast<Status>(s);
|
||||
m_suspendResumeButton->blockSignals(true);
|
||||
m_status = status;
|
||||
//if (status == Status::Stopped)
|
||||
// refreshCurrentTime(0);
|
||||
m_suspendResumeButton->setText(StatusStr[status]);
|
||||
m_suspendResumeButton->blockSignals(false);
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@ void libreMediaServerAudio::dmxInput(int layer, int channel, int value)
|
|||
s = Status::PlayingLoop;
|
||||
m_mae.playbackChanged(layer, s);
|
||||
m_currentStatus[layer] = s;
|
||||
qInfo() << "Layer" << layer << StatusStr[s];
|
||||
#ifndef NOGUI
|
||||
if (m_ui) {
|
||||
m_lmsUi->m_aw->playbackChanged(layer, s);
|
||||
|
|
|
@ -192,7 +192,7 @@ ma_result MiniAudioEngine::printFormatInfo(int layer)
|
|||
qWarning("Failed to get data format %i\n", layer);
|
||||
return MA_INVALID_DATA;
|
||||
}
|
||||
qInfo() << "name:" << m_currentLayerValues[layer].media << "samples/sec:" << sampleRate << "format:" << format << "channels:" << channels;
|
||||
qInfo() << "Layer:" << layer << m_currentLayerValues[layer].media << "samples/sec:" << sampleRate << "format:" << format << "channels:" << channels;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue