audio_backend: Merge is_realtime() into client_real_time_priority()

The description of is_realtime() did not match its actual use. And
client_real_time_priority() did not have any description. It was
hard to come up with good descriptions of what they actually did.

Most backends returned true from is_realtime(), but every one except
JACK used the default implementation of client_real_time_priority() that
returned 0 ... which is exactly the same as when is_realtime() returns
false. Just merge them and keep it simple.
This commit is contained in:
Mads Kiilerich 2024-10-17 23:20:15 +02:00
parent a3ac3c7201
commit 9c0c4f527b
14 changed files with 5 additions and 55 deletions

View file

@ -102,7 +102,6 @@ public:
/* AUDIOBACKEND API */
std::string name () const;
bool is_realtime () const;
std::vector<DeviceStatus> enumerate_devices () const;
std::vector<float> available_sample_rates (const std::string& device) const;