I'm looking at the MusicIO class and their implementation on github:
https://github.com/Yoshimi/yoshimi/blob/master/src/MusicIO/MusicIO.h
AlsaEngine has a pretty straight forward implementation:
string AlsaEngine::audioClientName(void)
{
string name = "yoshimi";
if (!synth->getRuntime().nameTag.empty())
name += ("-" + synth->getRuntime().nameTag);
return name;
}
while the jack implementation seems a bit more involved.
string JackEngine::clientName(void)
{
if (jackClient)
return string(jack_get_client_name(jackClient));
else
synth->getRuntime().Log("clientName() with null jackClient");
return string("Oh, yoshimi :-(");
}
Is the whole getclient[name|id] to support sessions? What's the purpose of
having these names/ ids?
I am just trying to get some clarification of the reasoning behind them.