mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
audio settings menu
This commit is contained in:
parent
9150af19ea
commit
a971f6dccf
6 changed files with 80 additions and 3 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue