-Updated SaveAble observer to include reset() function
parent
a702630f40
commit
ac0741fd72
|
@ -13,7 +13,14 @@ SaveAble::SaveAble()
|
|||
jack->getSave()->registerSaveable( this );
|
||||
}
|
||||
|
||||
void SaveAble::save(){};
|
||||
|
||||
void SaveAble::reset()
|
||||
{
|
||||
}
|
||||
|
||||
void SaveAble::save()
|
||||
{
|
||||
}
|
||||
|
||||
void SaveAble::done()
|
||||
{
|
||||
|
|
|
@ -16,6 +16,9 @@ class SaveAble
|
|||
public:
|
||||
SaveAble();
|
||||
|
||||
/// this function being called resets the state of the instance to blank
|
||||
virtual void reset();
|
||||
|
||||
/// this function is called when the user initiates a save action
|
||||
virtual void save();
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ void TrackOutput::process(unsigned int nframes, Buffers* buffers)
|
|||
|
||||
if (uiUpdateCounter > uiUpdateConstant )
|
||||
{
|
||||
// FIXME: should be using ControllerUpdater
|
||||
EventTrackSignalLevel e( track, dbMeter.getLeftDB() * _toMaster, dbMeter.getRightDB() * _toMaster );
|
||||
writeToGuiRingbuffer( &e );
|
||||
uiUpdateCounter = 0;
|
||||
|
|
Loading…
Reference in New Issue