summaryrefslogtreecommitdiffstats
path: root/scene/audio/audio_stream_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/audio/audio_stream_player.h')
-rw-r--r--scene/audio/audio_stream_player.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/scene/audio/audio_stream_player.h b/scene/audio/audio_stream_player.h
index 9dbdccdc69..404d6fbebf 100644
--- a/scene/audio/audio_stream_player.h
+++ b/scene/audio/audio_stream_player.h
@@ -68,11 +68,23 @@ private:
Vector<AudioFrame> _get_volume_vector();
+ struct ParameterData {
+ StringName path;
+ Variant value;
+ };
+
+ HashMap<StringName, ParameterData> playback_parameters;
+ void _update_stream_parameters();
+
protected:
void _validate_property(PropertyInfo &p_property) const;
void _notification(int p_what);
static void _bind_methods();
+ bool _set(const StringName &p_name, const Variant &p_value);
+ bool _get(const StringName &p_name, Variant &r_ret) const;
+ void _get_property_list(List<PropertyInfo> *p_list) const;
+
public:
void set_stream(Ref<AudioStream> p_stream);
Ref<AudioStream> get_stream() const;