coastline 0.0.4
Loading...
Searching...
No Matches
racemusic.h File Reference
#include <filesystem>
#include <memory>
Include dependency graph for racemusic.h:

Go to the source code of this file.

Classes

class  coastline::RaceMusicContext
 Race music resources for one active audio session, destroyed before its shared menu player. More...
class  coastline::FrontEndMusic
 Front-end music with independent CD resources and the shared native XM player. More...

Namespaces

namespace  coastline

Enumerations

enum class  coastline::RaceMusicSource { coastline::Modules , coastline::CdAudio }
 Where the music of a race comes from. More...

Functions

bool coastline::StartRaceMusic (const std::filesystem::path &directory, RaceMusicSource source, int musicTrack=-1)
 Add a user of the music of the races, as the PC release opens its music device.
void coastline::StopRaceMusic ()
 Drop a user of the music of the races.
void coastline::ShutdownRaceMusic ()
 Release all race music resources regardless of active users, before SDL audio shuts down.
void coastline::RestartRaceMusic ()
 Play the track of the race from its start, with the device of the music resumed.
void coastline::ShareRaceMusicPlayer (N64Audio *audio)
 Play the modules of the races through the player of the music of the menus, which mixes the channels of the console, instead of a player of their own.
std::size_t coastline::RenderRaceMusic (std::size_t frames)
 Render frames of the track that plays, without a device, for tests.