10#ifndef BASE_MEDIA_MUSIC_H
11#define BASE_MEDIA_MUSIC_H
27std::optional<std::vector<uint8_t>>
GetMusicCatEntryData(
const std::string &filename,
size_t entrynum);
48 static constexpr bool search_in_tars =
false;
49 static constexpr std::string_view set_type =
"music";
59 bool FillSetDetails(
const IniFile &ini,
const std::string &path,
const std::string &full_filename);
All data/functions related with replacing the base music.
static std::string ini_set
The set as saved in the config file.
Defines the traits of a BaseSet type.
Information about a single base set.
Ini file that supports both loading and saving.
MusicSongInfo songinfo[NUM_SONGS_AVAILABLE]
Data about individual songs in set.
uint8_t num_available
Number of valid songs in set.
Metadata about a music track.
MusicTrackType filetype
decoder required for song file
std::string songname
name of song displayed in UI
uint8_t tracknr
track number of song displayed in UI
std::string filename
file on disk containing song (when used in MusicSet class)
int override_start
MIDI ticks to skip over in beginning.
bool loop
song should play in a tight loop if possible, never ending
int cat_index
entry index in CAT file, for filetype==MTT_MPSMIDI
int override_end
MIDI tick to end the song at (0 if no override)