mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
audio_backend: Rename instantiate() parameter arg1 to client_name
This parameter is consistently used to name the audio backend instance and how it appear as client of the sound server. Just name it `client_name`, consistent with the name of the jack_client_open parameter it is passed to .
This commit is contained in:
parent
710bd07cd4
commit
79e99c12a5
10 changed files with 25 additions and 25 deletions
|
|
@ -1529,7 +1529,7 @@ CoreAudioBackend::hw_changed_callback ()
|
|||
static std::shared_ptr<CoreAudioBackend> _instance;
|
||||
|
||||
static std::shared_ptr<AudioBackend> backend_factory (AudioEngine& e);
|
||||
static int instantiate (const std::string& arg1, const std::string& /* session_id */);
|
||||
static int instantiate (const std::string& client_name, const std::string& /* session_id */);
|
||||
static int deinstantiate ();
|
||||
static bool already_configured ();
|
||||
static bool available ();
|
||||
|
|
@ -1553,9 +1553,9 @@ backend_factory (AudioEngine& e)
|
|||
}
|
||||
|
||||
static int
|
||||
instantiate (const std::string& arg1, const std::string& /* session_id */)
|
||||
instantiate (const std::string& client_name, const std::string& /* session_id */)
|
||||
{
|
||||
s_instance_name = arg1;
|
||||
s_instance_name = client_name;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue