3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
|
* Copyright (C) 2005 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
72 |
|
|
73 |
dmsg(1,("LinuxSampler %s\n", VERSION)); |
dmsg(1,("LinuxSampler %s\n", VERSION)); |
74 |
dmsg(1,("Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck\n")); |
dmsg(1,("Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck\n")); |
75 |
|
dmsg(1,("Copyright (C) 2005 Christian Schoenebeck\n")); |
76 |
|
|
77 |
if (tune) |
if (tune) |
78 |
{ |
{ |
142 |
std::map<uint,SamplerChannel*>::iterator iter = channels.begin(); |
std::map<uint,SamplerChannel*>::iterator iter = channels.begin(); |
143 |
for (; iter != channels.end(); iter++) { |
for (; iter != channels.end(); iter++) { |
144 |
SamplerChannel* pSamplerChannel = iter->second; |
SamplerChannel* pSamplerChannel = iter->second; |
145 |
Engine* pEngine = pSamplerChannel->GetEngine(); |
EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel(); |
146 |
|
if (!pEngineChannel) continue; |
147 |
|
Engine* pEngine = pEngineChannel->GetEngine(); |
148 |
if (!pEngine) continue; |
if (!pEngine) continue; |
149 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_voice_count, iter->first, pEngine->VoiceCount())); |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_voice_count, iter->first, pEngine->VoiceCount())); |
150 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_stream_count, iter->first, pEngine->DiskStreamCount())); |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_stream_count, iter->first, pEngine->DiskStreamCount())); |