Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_audio.h File Reference
#include <array>
#include <cstdint>
#include <memory>
#include <span>
#include <vector>
#include "audio/audio_mixer.h"
#include "model/match_events.h"

Go to the source code of this file.

Classes

struct  MatchAudioFrame
 
class  MatchEventCursor
 
class  MatchAudio
 
struct  MatchAudio::PendingShot
 

Namespaces

namespace  Audio
 

Functions

MatchAudioFrame captureMatchAudioFrame (const MatchEngine &engine, float playbackSpeed, bool paused, bool skipped)
 

Function Documentation

◆ captureMatchAudioFrame()

MatchAudioFrame captureMatchAudioFrame ( const MatchEngine &  engine,
float  playbackSpeed,
bool  paused,
bool  skipped 
)

Copies the frame state from a live engine (UI thread only).