Doc: fix type of stream object

(cherry picked from commit 7820e590ea)
This commit is contained in:
Rémi Verschelde 2016-04-07 11:45:39 +02:00 committed by Rémi Verschelde
parent 76eeb457d3
commit 8746966194
1 changed files with 2 additions and 2 deletions

View File

@ -342,8 +342,8 @@ int StreamPlayer::get_buffering_msec() const{
void StreamPlayer::_bind_methods() { void StreamPlayer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&StreamPlayer::set_stream); ObjectTypeDB::bind_method(_MD("set_stream","stream:AudioStream"),&StreamPlayer::set_stream);
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&StreamPlayer::get_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("play","offset"),&StreamPlayer::play,DEFVAL(0));
ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop); ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop);