yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::music::PlaybackState Struct Reference

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
 

Detailed Description

Represents the current playback state of the music player.

Definition at line 27 of file music_player.h.

Member Data Documentation

◆ is_playing

bool yaze::editor::music::PlaybackState::is_playing = false

◆ is_paused

bool yaze::editor::music::PlaybackState::is_paused = false

Definition at line 29 of file music_player.h.

Referenced by yaze::editor::music::MusicPlayer::GetState().

◆ playing_song_index

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().

◆ playback_speed

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().

◆ current_tick

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().

◆ current_segment_index

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().

◆ ticks_per_second

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().


The documentation for this struct was generated from the following file: