diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-04-07 11:45:39 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-04-07 11:45:39 +0200 |
commit | 7820e590ead1755381630fde280cd1852cd28630 (patch) | |
tree | ffa87f262e7576a085df1847f343d009b52c2b4e /scene | |
parent | 3e3f16fefc4dc8b9ffa40d3357f0959ac17163e7 (diff) |
Doc: fix type of stream object
Diffstat (limited to 'scene')
-rw-r--r-- | scene/audio/stream_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/audio/stream_player.cpp b/scene/audio/stream_player.cpp index c1799ec12c..b6b1ee85f3 100644 --- a/scene/audio/stream_player.cpp +++ b/scene/audio/stream_player.cpp @@ -342,8 +342,8 @@ int StreamPlayer::get_buffering_msec() const{ void StreamPlayer::_bind_methods() { - ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&StreamPlayer::set_stream); - ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&StreamPlayer::get_stream); + ObjectTypeDB::bind_method(_MD("set_stream","stream:AudioStream"),&StreamPlayer::set_stream); + ObjectTypeDB::bind_method(_MD("get_stream:AudioStream"),&StreamPlayer::get_stream); ObjectTypeDB::bind_method(_MD("play","offset"),&StreamPlayer::play,DEFVAL(0)); ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop); |