diff options
Diffstat (limited to 'scene/audio/sample_player.h')
-rw-r--r-- | scene/audio/sample_player.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/audio/sample_player.h b/scene/audio/sample_player.h index 53e085b8d8..4637313dd2 100644 --- a/scene/audio/sample_player.h +++ b/scene/audio/sample_player.h @@ -130,8 +130,8 @@ public: void set_sample_library(const Ref<SampleLibrary>& p_library); Ref<SampleLibrary> get_sample_library() const; - void set_voice_count(int p_voice_count); - int get_voice_count() const; + void set_polyphony(int p_voice_count); + int get_polyphony() const; VoiceID play(const String& p_name,bool unique=false); void stop(VoiceID p_voice); |