audio settings menu

This commit is contained in:
MihailRis
2024-03-12 23:49:42 +03:00
parent 9150af19ea
commit a971f6dccf
6 changed files with 80 additions and 3 deletions
+4
View File
@@ -356,6 +356,10 @@ Channel* audio::get_channel(int index) {
return channels.at(index).get();
}
Channel* audio::get_channel(const std::string& name) {
return get_channel(get_channel_index(name));
}
std::shared_ptr<Stream> audio::get_associated_stream(speakerid_t id) {
auto found = streams.find(id);
if (found != streams.end()) {