/[svn]/linuxsampler/trunk/src/engines/EngineBase.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/EngineBase.h

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

revision 3853 by schoenebeck, Tue Jan 5 20:42:32 2021 UTC revision 3854 by schoenebeck, Mon Feb 1 17:37:52 2021 UTC
# Line 1593  namespace LinuxSampler { Line 1593  namespace LinuxSampler {
1593                              itControlChangeEvent->Param.RPN.Value = value;                              itControlChangeEvent->Param.RPN.Value = value;
1594    
1595                              // if there's a RPN script handler, run it ...                              // if there's a RPN script handler, run it ...
1596                              if (pChannel->pScript->handlerRpn) {                              if (pChannel->pScript &&
1597                                    pChannel->pScript->handlerRpn)
1598                                {
1599                                  const event_id_t eventID =                                  const event_id_t eventID =
1600                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1601                                  // run the RPN script handler                                  // run the RPN script handler
# Line 1633  namespace LinuxSampler { Line 1635  namespace LinuxSampler {
1635                              itControlChangeEvent->Param.NRPN.Value = value;                              itControlChangeEvent->Param.NRPN.Value = value;
1636    
1637                              // if there's a NRPN script handler, run it ...                              // if there's a NRPN script handler, run it ...
1638                              if (pChannel->pScript->handlerNrpn) {                              if (pChannel->pScript &&
1639                                    pChannel->pScript->handlerNrpn)
1640                                {
1641                                  const event_id_t eventID =                                  const event_id_t eventID =
1642                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1643                                  // run the NRPN script handler                                  // run the NRPN script handler
# Line 1682  namespace LinuxSampler { Line 1686  namespace LinuxSampler {
1686                              itControlChangeEvent->Param.RPN.Value = value;                              itControlChangeEvent->Param.RPN.Value = value;
1687    
1688                              // if there's a RPN script handler, run it ...                              // if there's a RPN script handler, run it ...
1689                              if (pChannel->pScript->handlerRpn) {                              if (pChannel->pScript &&
1690                                    pChannel->pScript->handlerRpn)
1691                                {
1692                                  const event_id_t eventID =                                  const event_id_t eventID =
1693                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1694                                  // run the RPN script handler                                  // run the RPN script handler
# Line 1716  namespace LinuxSampler { Line 1722  namespace LinuxSampler {
1722                              itControlChangeEvent->Param.NRPN.Value = value;                              itControlChangeEvent->Param.NRPN.Value = value;
1723    
1724                              // if there's a NRPN script handler, run it ...                              // if there's a NRPN script handler, run it ...
1725                              if (pChannel->pScript->handlerNrpn) {                              if (pChannel->pScript &&
1726                                    pChannel->pScript->handlerNrpn)
1727                                {
1728                                  const event_id_t eventID =                                  const event_id_t eventID =
1729                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1730                                  // run the NRPN script handler                                  // run the NRPN script handler
# Line 1827  namespace LinuxSampler { Line 1835  namespace LinuxSampler {
1835                              itControlChangeEvent->Param.RPN.Value = value;                              itControlChangeEvent->Param.RPN.Value = value;
1836    
1837                              // if there's a RPN script handler, run it ...                              // if there's a RPN script handler, run it ...
1838                              if (pChannel->pScript->handlerRpn) {                              if (pChannel->pScript &&
1839                                    pChannel->pScript->handlerRpn)
1840                                {
1841                                  const event_id_t eventID =                                  const event_id_t eventID =
1842                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1843                                  // run the RPN script handler                                  // run the RPN script handler
# Line 1861  namespace LinuxSampler { Line 1871  namespace LinuxSampler {
1871                              itControlChangeEvent->Param.NRPN.Value = value;                              itControlChangeEvent->Param.NRPN.Value = value;
1872    
1873                              // if there's a NRPN script handler, run it ...                              // if there's a NRPN script handler, run it ...
1874                              if (pChannel->pScript->handlerNrpn) {                              if (pChannel->pScript &&
1875                                    pChannel->pScript->handlerNrpn)
1876                                {
1877                                  const event_id_t eventID =                                  const event_id_t eventID =
1878                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1879                                  // run the NRPN script handler                                  // run the NRPN script handler
# Line 1899  namespace LinuxSampler { Line 1911  namespace LinuxSampler {
1911                              itControlChangeEvent->Param.RPN.Value = value;                              itControlChangeEvent->Param.RPN.Value = value;
1912    
1913                              // if there's a RPN script handler, run it ...                              // if there's a RPN script handler, run it ...
1914                              if (pChannel->pScript->handlerRpn) {                              if (pChannel->pScript &&
1915                                    pChannel->pScript->handlerRpn)
1916                                {
1917                                  const event_id_t eventID =                                  const event_id_t eventID =
1918                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1919                                  // run the RPN script handler                                  // run the RPN script handler
# Line 1933  namespace LinuxSampler { Line 1947  namespace LinuxSampler {
1947                              itControlChangeEvent->Param.NRPN.Value = value;                              itControlChangeEvent->Param.NRPN.Value = value;
1948    
1949                              // if there's a NRPN script handler, run it ...                              // if there's a NRPN script handler, run it ...
1950                              if (pChannel->pScript->handlerNrpn) {                              if (pChannel->pScript &&
1951                                    pChannel->pScript->handlerNrpn)
1952                                {
1953                                  const event_id_t eventID =                                  const event_id_t eventID =
1954                                      pEventPool->getID(itControlChangeEvent);                                      pEventPool->getID(itControlChangeEvent);
1955                                  // run the NRPN script handler                                  // run the NRPN script handler

Legend:
Removed from v.3853  
changed lines
  Added in v.3854

  ViewVC Help
Powered by ViewVC