Files
Dreierpack-Manager/src/audio/music_fallback.hpp
T
ClaudeandClaude Sonnet 5.5 287b5a9251 Add header comments to the source files
Every source file in ui, app, game, formats, cli, audio and launch that had none
now starts with a short English comment: what it implements, what state it owns
and how it relates to its neighbours (request/acknowledge flow, pairs of files,
random generator use). Comment lines only; the full build and the runnable
tests are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 09:15:23 +01:00

19 lines
678 B
C++

// SPDX-License-Identifier: GPL-3.0-only
// Synthetic fallback matchday music: a deterministic 8-bar loop generated in code. It is
// presentation filler, not decoded original music and not tied to any original sound id.
// The result is a PcmSample that Playback::start_music_loop() can play; implemented in
// music_fallback.cpp.
#pragma once
#include "container.hpp"
#include <string>
namespace openbmh::audio {
// Builds an explicitly synthetic, deterministic 8-bar matchday loop. This is
// presentation fallback material, not decoded original music or a Sound ID.
bool synthesize_matchday_music_loop(PcmSample& out, std::string& error);
} // namespace openbmh::audio