audio::get renamed to audio::get_speaker

This commit is contained in:
MihailRis
2024-03-05 14:30:37 +03:00
parent 6bf6e8e011
commit 13a8c61ee1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ speakerid_t audio::play_stream(
return play(stream, position, relative, volume, pitch, loop, channel);
}
Speaker* audio::get(speakerid_t id) {
Speaker* audio::get_speaker(speakerid_t id) {
auto found = speakers.find(id);
if (found == speakers.end()) {
return nullptr;