Merge pull request #51 from sonoro1234/clear_alertList_brnch

add Stk::clear_alertList method
This commit is contained in:
garyscavone
2015-12-04 07:54:51 -05:00

View File

@@ -171,7 +171,10 @@ public:
class basis. class basis.
*/ */
void ignoreSampleRateChange( bool ignore = true ) { ignoreSampleRateChange_ = ignore; }; void ignoreSampleRateChange( bool ignore = true ) { ignoreSampleRateChange_ = ignore; };
//! Static method that frees memory from alertList_.
static void clear_alertList(){std::vector<Stk *>().swap(alertList_);};
//! Static method that returns the current rawwave path. //! Static method that returns the current rawwave path.
static std::string rawwavePath(void) { return rawwavepath_; } static std::string rawwavePath(void) { return rawwavepath_; }