31#if defined(H2CORE_HAVE_LASH) || _DOXYGEN_
33#include <lash-1.0/lash/lash.h>
55 lash_args_t *lash_args = lash_extract_args(argc, argv);
56 lashClient = lash_init(lash_args, lashClass, LASH_Config_File, LASH_PROTOCOL(2, 0));
94 lash_event_t*
event = lash_get_event(
lashClient);
105 lash_event_t *
event = lash_event_new_with_type(eventType);
106 if (value !=
nullptr)
108 lash_event_set_string(event, value);
static Preferences * get_instance()
Returns a pointer to the current Preferences singleton stored in __instance.
static void create_instance(const char *lashClass, const char *viewName, int *argc, char ***argv)
static reference of LashClient class (Singleton)
lash_client_t * getConnection()
lash_event_t * getNextEvent()
void sendEvent(LASH_Event_Type eventType, const char *value)
unsigned char alsaClientId
std::string jackClientName
Name of the external JACK client Hydrogen is using to communicate with the JACK server.
void setNewProject(bool value)
static LashClient * __instance
lash_client_t * lashClient
LashClient(const char *lashClass, const char *viewName, int *argc, char ***argv)
void setJackClientName(const std::string &jackClientName)
Set the name of the JACK client by modifying jackClientName.
void setAlsaClientId(unsigned char id)
void sendJackClientName()