45 |
#include "qsamplerDeviceForm.h" |
#include "qsamplerDeviceForm.h" |
46 |
#include "qsamplerOptionsForm.h" |
#include "qsamplerOptionsForm.h" |
47 |
|
|
|
#include "config.h" |
|
|
|
|
48 |
#ifdef HAVE_SIGNAL_H |
#ifdef HAVE_SIGNAL_H |
49 |
#include <signal.h> |
#include <signal.h> |
50 |
#endif |
#endif |
385 |
// For the time being, just pump it to messages. |
// For the time being, just pump it to messages. |
386 |
if (pCustomEvent->type() == QSAMPLER_CUSTOM_EVENT) { |
if (pCustomEvent->type() == QSAMPLER_CUSTOM_EVENT) { |
387 |
qsamplerCustomEvent *pEvent = (qsamplerCustomEvent *) pCustomEvent; |
qsamplerCustomEvent *pEvent = (qsamplerCustomEvent *) pCustomEvent; |
|
appendMessagesColor(tr("Notify event: %1 data: %2") |
|
|
.arg(::lscp_event_to_text(pEvent->event())) |
|
|
.arg(pEvent->data()), "#996699"); |
|
388 |
if (pEvent->event() == LSCP_EVENT_CHANNEL_INFO) { |
if (pEvent->event() == LSCP_EVENT_CHANNEL_INFO) { |
389 |
int iChannelID = pEvent->data().toInt(); |
int iChannelID = pEvent->data().toInt(); |
390 |
qsamplerChannelStrip *pChannelStrip = channelStrip(iChannelID); |
qsamplerChannelStrip *pChannelStrip = channelStrip(iChannelID); |
391 |
if (pChannelStrip) |
if (pChannelStrip) |
392 |
channelStripChanged(pChannelStrip); |
channelStripChanged(pChannelStrip); |
393 |
|
} else { |
394 |
|
appendMessagesColor(tr("Notify event: %1 data: %2") |
395 |
|
.arg(::lscp_event_to_text(pEvent->event())) |
396 |
|
.arg(pEvent->data()), "#996699"); |
397 |
} |
} |
398 |
} |
} |
399 |
} |
} |
786 |
ts << "LOAD ENGINE " << pChannel->engineName() << " " << iChannel << endl; |
ts << "LOAD ENGINE " << pChannel->engineName() << " " << iChannel << endl; |
787 |
ts << "LOAD INSTRUMENT NON_MODAL '" << pChannel->instrumentFile() << "' " << pChannel->instrumentNr() << " " << iChannel << endl; |
ts << "LOAD INSTRUMENT NON_MODAL '" << pChannel->instrumentFile() << "' " << pChannel->instrumentNr() << " " << iChannel << endl; |
788 |
ts << "SET CHANNEL VOLUME " << iChannel << " " << pChannel->volume() << endl; |
ts << "SET CHANNEL VOLUME " << iChannel << " " << pChannel->volume() << endl; |
789 |
|
if (pChannel->channelMute()) |
790 |
|
ts << "SET CHANNEL MUTE " << iChannel << " 1" << endl; |
791 |
|
if (pChannel->channelSolo()) |
792 |
|
ts << "SET CHANNEL SOLO " << iChannel << " 1" << endl; |
793 |
ts << endl; |
ts << endl; |
794 |
} |
} |
795 |
} |
} |
1303 |
sText += tr("LSCP (liblscp) instrument_name support disabled."); |
sText += tr("LSCP (liblscp) instrument_name support disabled."); |
1304 |
sText += "</font></small><br />"; |
sText += "</font></small><br />"; |
1305 |
#endif |
#endif |
1306 |
|
#ifndef CONFIG_MUTE_SOLO |
1307 |
|
sText += "<small><font color=\"red\">"; |
1308 |
|
sText += tr("Sampler channel Mute/Solo support disabled."); |
1309 |
|
sText += "</font></small><br />"; |
1310 |
|
#endif |
1311 |
sText += "<br />\n"; |
sText += "<br />\n"; |
1312 |
sText += tr("Using") + ": "; |
sText += tr("Using") + ": "; |
1313 |
sText += ::lscp_client_package(); |
sText += ::lscp_client_package(); |
1315 |
sText += ::lscp_client_version(); |
sText += ::lscp_client_version(); |
1316 |
#ifdef CONFIG_LIBGIG |
#ifdef CONFIG_LIBGIG |
1317 |
sText += ", "; |
sText += ", "; |
1318 |
sText += gig::libraryName(); |
sText += gig::libraryName().c_str(); |
1319 |
sText += " "; |
sText += " "; |
1320 |
sText += gig::libraryVersion(); |
sText += gig::libraryVersion().c_str(); |
1321 |
#endif |
#endif |
1322 |
sText += "<br />\n"; |
sText += "<br />\n"; |
1323 |
sText += "<br />\n"; |
sText += "<br />\n"; |