}
-void ScopeManager::slotDistributeAudio(QVector<int16_t> sampleData, int freq, int num_channels, int num_samples)
+void ScopeManager::slotDistributeAudio(const QVector<int16_t> &sampleData, int freq, int num_channels, int num_samples)
{
#ifdef DEBUG_SM
qDebug() << "ScopeManager: Starting to distribute audio.";
void slotCheckActiveScopes();
void slotDistributeFrame(const QImage &image);
- void slotDistributeAudio(QVector<int16_t> sampleData, int freq, int num_channels, int num_samples);
+ void slotDistributeAudio(const QVector<int16_t> &sampleData, int freq, int num_channels, int num_samples);
/**
Allows a scope to explicitly request a new frame, even if the scope's autoRefresh is disabled.
*/
}
-const QString StopmotionWidget::createProducer(MltVideoProfile profile, const QString &service, const QString &resource)
+const QString StopmotionWidget::createProducer(const MltVideoProfile &profile, const QString &service, const QString &resource)
{
Q_UNUSED(profile)
StopmotionMonitor *m_monitor;
/** @brief Create the XML playlist. */
- const QString createProducer(MltVideoProfile profile, const QString &service, const QString &resource);
+ const QString createProducer(const MltVideoProfile &profile, const QString &service, const QString &resource);
/** @brief A new frame arrived, reload overlay. */
void reloadOverlay();