coastline 0.0.4
Loading...
Searching...
No Matches
music.h File Reference
#include <cstdint>
#include <expected>
#include <filesystem>
#include <memory>
#include <span>
#include <string>
#include <vector>
#include <SDL3/SDL.h>
Include dependency graph for music.h:

Go to the source code of this file.

Classes

class  coastline::N64MixerContext
 Mixer channels, XM storage, and synchronisation for one SDL audio session. More...
class  coastline::N64Audio
 The XM player and sample mixers of the Nintendo 64 release, streamed as native stereo PCM. More...
class  coastline::N64MixerLock
 A lock of the mixers and the music player of the console against the audio thread that mixes them, for the life of the object. More...

Namespaces

namespace  coastline

Functions

void coastline::PublishN64Volumes ()
 Hand the volumes the game writes (g_bBgmVolume, g_bMusicVolume, g_bSfxMasterVolume, and g_bSfxVolume) to the mixers.

Variables

constexpr int coastline::N64_AUDIO_RATE = 21998
 The sample rate of the imported music, in stereo frames per second.