/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1018 by capela, Wed Jan 10 19:39:00 2007 UTC revision 1025 by capela, Fri Jan 12 21:21:16 2007 UTC
# Line 899  bool qsamplerMainForm::saveSessionFile ( Line 899  bool qsamplerMainForm::saveSessionFile (
899          // Sampler channel mapping.          // Sampler channel mapping.
900      QWidgetList wlist = m_pWorkspace->windowList();      QWidgetList wlist = m_pWorkspace->windowList();
901      for (int iChannel = 0; iChannel < (int) wlist.count(); iChannel++) {      for (int iChannel = 0; iChannel < (int) wlist.count(); iChannel++) {
902          qsamplerChannelStrip *pChannelStrip = (qsamplerChannelStrip *) wlist.at(iChannel);          qsamplerChannelStrip *pChannelStrip
903                            = static_cast<qsamplerChannelStrip *> (wlist.at(iChannel));
904          if (pChannelStrip) {          if (pChannelStrip) {
905              qsamplerChannel *pChannel = pChannelStrip->channel();              qsamplerChannel *pChannel = pChannelStrip->channel();
906              if (pChannel) {              if (pChannel) {
# Line 951  bool qsamplerMainForm::saveSessionFile ( Line 952  bool qsamplerMainForm::saveSessionFile (
952                                                  << " " << midiInstrumentMap[pChannel->midiMap()] << endl;                                                  << " " << midiInstrumentMap[pChannel->midiMap()] << endl;
953                                  }                                  }
954  #endif  #endif
955    #ifdef CONFIG_FXSEND
956                                    int iChannelID = pChannel->channelID();
957                                    int *piFxSends = ::lscp_list_fxsends(m_pClient, iChannelID);
958                                    for (int iFxSend = 0;
959                                                    piFxSends && piFxSends[iFxSend] >= 0;
960                                                            iFxSend++) {
961                                            lscp_fxsend_info_t *pFxSendInfo = ::lscp_get_fxsend_info(
962                                                    m_pClient, iChannelID, piFxSends[iFxSend]);
963                                            if (pFxSendInfo) {
964                                                    ts << "CREATE FX_SEND " << iChannel
965                                                            << " " << pFxSendInfo->midi_controller;
966                                                    if (pFxSendInfo->name)
967                                                            ts << " '" << pFxSendInfo->name << "'";
968                                                    ts << endl;
969                                                    int *piRouting = pFxSendInfo->audio_routing;
970                                                    for (int iAudioSrc = 0;
971                                                                    piRouting && piRouting[iAudioSrc] >= 0;
972                                                                            iAudioSrc++) {
973                                                            ts << "SET FX_SEND AUDIO_OUTPUT_CHANNEL "
974                                                                    << iChannel
975                                                                    << " " << iFxSend
976                                                                    << " " << iAudioSrc
977                                                                    << " " << piRouting[iAudioSrc] << endl;
978                                                    }
979                                            }       // Check for errors...
980                                            else if (::lscp_client_get_errno(m_pClient)) {
981                                                    appendMessagesClient("lscp_get_fxsend_info");
982                                                    iErrors++;
983                                            }
984                                    }
985    #endif
986                  ts << endl;                  ts << endl;
987              }              }
988          }          }
# Line 1499  void qsamplerMainForm::helpAbout (void) Line 1531  void qsamplerMainForm::helpAbout (void)
1531      sText += tr("Sampler channel Mute/Solo support disabled.");      sText += tr("Sampler channel Mute/Solo support disabled.");
1532      sText += "</font></small><br />";      sText += "</font></small><br />";
1533  #endif  #endif
1534    #ifndef CONFIG_AUDIO_ROUTING
1535        sText += "<small><font color=\"red\">";
1536        sText += tr("LSCP (liblscp) audio_routing support disabled.");
1537        sText += "</font></small><br />";
1538    #endif
1539    #ifndef CONFIG_FXSEND
1540        sText += "<small><font color=\"red\">";
1541        sText += tr("Sampler channel Effect Sends support disabled.");
1542        sText += "</font></small><br />";
1543    #endif
1544  #ifndef CONFIG_MIDI_INSTRUMENT  #ifndef CONFIG_MIDI_INSTRUMENT
1545      sText += "<small><font color=\"red\">";      sText += "<small><font color=\"red\">";
1546      sText += tr("MIDI instrument mapping support disabled.");      sText += tr("MIDI instrument mapping support disabled.");

Legend:
Removed from v.1018  
changed lines
  Added in v.1025

  ViewVC Help
Powered by ViewVC