/[svn]/linuxsampler/trunk/src/network/lscpserver.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpserver.h

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

revision 1129 by schoenebeck, Mon Feb 19 19:38:04 2007 UTC revision 1130 by iliev, Sun Mar 25 18:59:14 2007 UTC
# Line 212  class LSCPServer : public Thread { Line 212  class LSCPServer : public Thread {
212          //like voice count, stream count and buffer fill          //like voice count, stream count and buffer fill
213          //from LSCP server removing engines and channels from underneath          //from LSCP server removing engines and channels from underneath
214          static Mutex RTNotifyMutex;          static Mutex RTNotifyMutex;
215    
216            class LscpChannelCountListener : public ChannelCountListener {
217                 public:
218                    /**
219                     * Invoked when the number of sampler channels has changed.
220                     * @param NewCount The new number of sampler channels.
221                     */
222                    virtual void ChannelCountChanged(int NewCount);
223            } channelCountListener;
224            
225            class LscpAudioDeviceCountListener : public AudioDeviceCountListener {
226                public:
227                    /**
228                     * Invoked when the number of audio output devices has changed.
229                     * @param NewCount The new number of audio output devices.
230                     */
231                    virtual void AudioDeviceCountChanged(int NewCount);
232            } audioDeviceCountListener;
233    
234            class LscpMidiDeviceCountListener : public MidiDeviceCountListener {
235                public:
236                    /**
237                     * Invoked when the number of MIDI input devices has changed.
238                     * @param NewCount The new number of MIDI input devices.
239                     */
240                    virtual void MidiDeviceCountChanged(int NewCount);
241            } midiDeviceCountListener;
242            
243            class LscpMidiInstrumentCountListener : public MidiInstrumentCountListener {
244                public:
245                    /**
246                     * Invoked when the number of MIDI instruments has changed.
247                     * @param MapId The numerical ID of the MIDI instrument map.
248                     * @param NewCount The new number of MIDI instruments.
249                     */
250                    virtual void MidiInstrumentCountChanged(int MapId, int NewCount);
251            } midiInstrumentCountListener;
252    
253            class LscpMidiInstrumentInfoListener : public MidiInstrumentInfoListener {
254                public:
255                    /**
256                     * Invoked when a MIDI instrument in a MIDI instrument map is changed.
257                     * @param MapId The numerical ID of the MIDI instrument map.
258                     * @param Bank The index of the MIDI bank, containing the instrument.
259                     * @param Program The MIDI program number of the instrument.
260                     */
261                    virtual void MidiInstrumentInfoChanged(int MapId, int Bank, int Program);
262            } midiInstrumentInfoListener;
263            
264            class LscpMidiInstrumentMapCountListener : public MidiInstrumentMapCountListener {
265                public:
266                   /**
267                     * Invoked when the number of MIDI instrument maps has changed.
268                     * @param NewCount The new number of MIDI instruments.
269                     */
270                    virtual void MidiInstrumentMapCountChanged(int NewCount);
271            } midiInstrumentMapCountListener;
272    
273            class LscpMidiInstrumentMapInfoListener : public MidiInstrumentMapInfoListener {
274                public:
275                    /**
276                     * Invoked when the settings of a MIDI instrument map are changed.
277                     * @param MapId The numerical ID of the MIDI instrument map.
278                     */
279                    virtual void MidiInstrumentMapInfoChanged(int MapId);
280            } midiInstrumentMapInfoListener;
281            
282            class LscpFxSendCountListener : public FxSendCountListener {
283                public:
284                    /**
285                     * Invoked when the number of effect sends
286                     * on the specified sampler channel has changed.
287                     * @param ChannelId The numerical ID of the sampler channel.
288                     * @param NewCount The new number of effect sends.
289                     */
290                    virtual void FxSendCountChanged(int ChannelId, int NewCount);
291            } fxSendCountListener;
292            
293            class LscpVoiceCountListener : public VoiceCountListener {
294                public:
295                    /**
296                     * Invoked when the number of active voices
297                     * on the specified sampler channel has changed.
298                     * @param ChannelId The numerical ID of the sampler channel.
299                     * @param NewCount The new number of active voices.
300                     */
301                    virtual void VoiceCountChanged(int ChannelId, int NewCount);
302            } voiceCountListener;
303    
304            class LscpStreamCountListener : public StreamCountListener {
305                public:
306                    /**
307                     * Invoked when the number of active disk streams
308                     * on the specified sampler channel has changed.
309                     * @param ChannelId The numerical ID of the sampler channel.
310                     * @param NewCount The new number of active disk streams.
311                     */
312                    virtual void StreamCountChanged(int ChannelId, int NewCount);
313            } streamCountListener;
314    
315            class LscpBufferFillListener : public BufferFillListener {
316                public:
317                    /**
318                     * Invoked when the fill state of the disk stream
319                     * buffers on the specified sampler channel is changed.
320                     * @param ChannelId The numerical ID of the sampler channel.
321                     * @param FillData The buffer fill data for the specified sampler channel.
322                     */
323                    virtual void BufferFillChanged(int ChannelId, String FillData);
324            } bufferFillListener;
325    
326            class LscpTotalVoiceCountListener : public TotalVoiceCountListener {
327                public:
328                    /**
329                     * Invoked when the total number of active voices is changed.
330                     * @param NewCount The new number of active voices.
331                     */
332                    virtual void TotalVoiceCountChanged(int NewCount);
333            } totalVoiceCountListener;
334  };  };
335    
336  #endif // __LSCPSERVER_H_  #endif // __LSCPSERVER_H_

Legend:
Removed from v.1129  
changed lines
  Added in v.1130

  ViewVC Help
Powered by ViewVC