mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
audio::get renamed to audio::get_speaker
This commit is contained in:
parent
6bf6e8e011
commit
13a8c61ee1
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue