Represents the current playback state of the music player. More...
#include <music_player.h>
Public Attributes | |
| bool | is_playing = false |
| bool | is_paused = false |
| int | playing_song_index = -1 |
| float | playback_speed = 1.0f |
| uint32_t | current_tick = 0 |
| int | current_segment_index = 0 |
| float | ticks_per_second = 0.0f |
Represents the current playback state of the music player.
Definition at line 27 of file music_player.h.
| bool yaze::editor::music::PlaybackState::is_playing = false |
Definition at line 28 of file music_player.h.
Referenced by yaze::editor::MusicEditor::DrawSongTrackerWindow(), and yaze::editor::music::MusicPlayer::GetState().
| bool yaze::editor::music::PlaybackState::is_paused = false |
Definition at line 29 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().
| int yaze::editor::music::PlaybackState::playing_song_index = -1 |
Definition at line 30 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().
| float yaze::editor::music::PlaybackState::playback_speed = 1.0f |
Definition at line 31 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().
| uint32_t yaze::editor::music::PlaybackState::current_tick = 0 |
Definition at line 32 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().
| int yaze::editor::music::PlaybackState::current_segment_index = 0 |
Definition at line 33 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().
| float yaze::editor::music::PlaybackState::ticks_per_second = 0.0f |
Definition at line 34 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetState().