summaryrefslogtreecommitdiffstats
path: root/scene/resources/audio_stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/audio_stream.cpp')
-rw-r--r--scene/resources/audio_stream.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/scene/resources/audio_stream.cpp b/scene/resources/audio_stream.cpp
index f6dc99b8a3..7c269de007 100644
--- a/scene/resources/audio_stream.cpp
+++ b/scene/resources/audio_stream.cpp
@@ -33,22 +33,22 @@
void AudioStreamPlayback::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("play","from_pos_sec"),&AudioStreamPlayback::play,DEFVAL(0));
- ObjectTypeDB::bind_method(_MD("stop"),&AudioStreamPlayback::stop);
- ObjectTypeDB::bind_method(_MD("is_playing"),&AudioStreamPlayback::is_playing);
+ ClassDB::bind_method(_MD("play","from_pos_sec"),&AudioStreamPlayback::play,DEFVAL(0));
+ ClassDB::bind_method(_MD("stop"),&AudioStreamPlayback::stop);
+ ClassDB::bind_method(_MD("is_playing"),&AudioStreamPlayback::is_playing);
- ObjectTypeDB::bind_method(_MD("set_loop","enabled"),&AudioStreamPlayback::set_loop);
- ObjectTypeDB::bind_method(_MD("has_loop"),&AudioStreamPlayback::has_loop);
+ ClassDB::bind_method(_MD("set_loop","enabled"),&AudioStreamPlayback::set_loop);
+ ClassDB::bind_method(_MD("has_loop"),&AudioStreamPlayback::has_loop);
- ObjectTypeDB::bind_method(_MD("get_loop_count"),&AudioStreamPlayback::get_loop_count);
+ ClassDB::bind_method(_MD("get_loop_count"),&AudioStreamPlayback::get_loop_count);
- ObjectTypeDB::bind_method(_MD("seek_pos","pos"),&AudioStreamPlayback::seek_pos);
- ObjectTypeDB::bind_method(_MD("get_pos"),&AudioStreamPlayback::get_pos);
+ ClassDB::bind_method(_MD("seek_pos","pos"),&AudioStreamPlayback::seek_pos);
+ ClassDB::bind_method(_MD("get_pos"),&AudioStreamPlayback::get_pos);
- ObjectTypeDB::bind_method(_MD("get_length"),&AudioStreamPlayback::get_length);
- ObjectTypeDB::bind_method(_MD("get_channels"),&AudioStreamPlayback::get_channels);
- ObjectTypeDB::bind_method(_MD("get_mix_rate"),&AudioStreamPlayback::get_mix_rate);
- ObjectTypeDB::bind_method(_MD("get_minimum_buffer_size"),&AudioStreamPlayback::get_minimum_buffer_size);
+ ClassDB::bind_method(_MD("get_length"),&AudioStreamPlayback::get_length);
+ ClassDB::bind_method(_MD("get_channels"),&AudioStreamPlayback::get_channels);
+ ClassDB::bind_method(_MD("get_mix_rate"),&AudioStreamPlayback::get_mix_rate);
+ ClassDB::bind_method(_MD("get_minimum_buffer_size"),&AudioStreamPlayback::get_minimum_buffer_size);
}