--- linuxsampler/trunk/src/Sampler.h 2007/12/03 23:22:02 1540 +++ linuxsampler/trunk/src/Sampler.h 2007/12/04 18:09:26 1541 @@ -415,6 +415,10 @@ * @param NewCount The new number of active voices. */ void fireTotalVoiceCountChanged(int NewCount); + + void AddTotalStreamCountListener(TotalStreamCountListener* l); + void RemoveTotalStreamCountListener(TotalStreamCountListener* l); + void fireTotalStreamCountChanged(int NewCount); /** * Registers the specified listener to be notified when the number @@ -503,6 +507,12 @@ */ void DestroyMidiInputDevice(MidiInputDevice* pDevice) throw (Exception); + /** + * Gets the current number of all active streams. + * @returns The current number of all active streams. + */ + int GetDiskStreamCount(); + /** * Gets the current number of all active voices. * @returns The current number of all active voices. @@ -559,6 +569,7 @@ ListenerList llVoiceCountListeners; ListenerList llStreamCountListeners; ListenerList llBufferFillListeners; + ListenerList llTotalStreamCountListeners; ListenerList llTotalVoiceCountListeners; ListenerList llFxSendCountListeners;