diff --git a/Timeline/LASH_Client.C b/Timeline/LASH_Client.C index 5681399..014b776 100644 --- a/Timeline/LASH_Client.C +++ b/Timeline/LASH_Client.C @@ -52,6 +52,12 @@ LASH_Client::init ( const char *jack_name, const char *long_name, int *argc, cha return true; } +bool +LASH_Client::enabled ( void ) +{ + return lash_enabled( _client ); +} + /** process any queued events */ void LASH_Client::poll ( void ) diff --git a/Timeline/LASH_Client.H b/Timeline/LASH_Client.H index 9de1af3..b20d096 100644 --- a/Timeline/LASH_Client.H +++ b/Timeline/LASH_Client.H @@ -17,7 +17,6 @@ /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /*******************************************************************************/ - /* generic master class for interfacing with LASH... */ #pragma once @@ -39,6 +38,7 @@ public: virtual ~LASH_Client ( ); bool init ( const char *jack_name, const char *full_name, int *argc, char ***argv ); + bool enabled ( void ); void poll ( void ); void project_save ( void );