Rename JACK to "JACK/Pipewire" on Linux (1/2)

This commit is contained in:
Robin Gareus 2024-07-31 04:38:01 +02:00
parent cc56f92a73
commit a76b2ed1bb
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
9 changed files with 27 additions and 7 deletions

View file

@ -31,7 +31,11 @@ static bool already_configured ();
static bool available ();
static ARDOUR::AudioBackendInfo _descriptor = {
#if ! (defined(__APPLE__) || defined(PLATFORM_WINDOWS))
"JACK/Pipewire",
#else
"JACK",
#endif
instantiate,
deinstantiate,
backend_factory,

View file

@ -87,7 +87,11 @@ JACKAudioBackend::~JACKAudioBackend()
string
JACKAudioBackend::name() const
{
#if ! (defined(__APPLE__) || defined(PLATFORM_WINDOWS))
return X_("JACK/Pipewire");
#else
return X_("JACK");
#endif
}
void*

View file

@ -60,6 +60,8 @@ class JACKAudioBackend : public AudioBackend {
void* private_handle() const;
bool is_realtime () const;
bool is_jack () const { return true; }
bool requires_driver_selection() const;
std::vector<std::string> enumerate_drivers () const;
int set_driver (const std::string&);