forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_streamplayer
reduz edited this page Apr 10, 2014
·
9 revisions
####Inherits: Node ####Category: Core
Base class for audio stream playback.
- void set_stream ( Stream stream )
- Stream get_stream ( ) const
- void play ( )
- void stop ( )
- bool is_playing ( ) const
- void set_paused ( bool paused )
- bool is_paused ( ) const
- void set_loop ( bool enabled )
- bool has_loop ( ) const
- void set_volume ( float volume )
- float get_volume ( ) const
- void set_volume_db ( float db )
- float get_volume_db ( ) const
- String get_stream_name ( ) const
- int get_loop_count ( ) const
- float get_pos ( ) const
- void seek_pos ( float time )
- void set_autoplay ( bool enabled )
- bool has_autoplay ( ) const
- float get_length ( ) const
Base class for audio stream playback. Audio stream players inherit from it.