Skip to content

Commit

Permalink
Doc: fix type of stream object
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Apr 7, 2016
1 parent 3e3f16f commit 7820e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scene/audio/stream_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7820e59

Please sign in to comment.