RhythmGame 1.4.3
Loading...
Searching...
No Matches
Namespaces | Functions
ChartAudioPlayer.cpp File Reference
#include "ChartAudioPlayer.h"
#include "AudioEngine.h"
#include "Sound.h"
#include "resource_managers/ChartDataFactory.h"
#include "resource_managers/SongAssetStore.h"
#include "resource_managers/loadBmsSounds.h"
#include "support/PathToQString.h"
#include "support/QStringToPath.h"
#include <QFutureWatcher>
#include <QtConcurrentRun>
#include <algorithm>
#include <filesystem>
#include <limits>
#include <random>
#include <ranges>
#include <stdexcept>
#include <string_view>
#include <utility>
#include <spdlog/spdlog.h>
Include dependency graph for ChartAudioPlayer.cpp:

Namespaces

namespace  sounds
 The namespace for all sound related classes.
 

Functions

auto sounds::createChartAudioEvents (const charts::BmsNotesData &notes) -> std::vector< ChartAudioEvent >
 
auto sounds::skipChartAudioLeadingSilence (const std::span< ChartAudioEvent > events) -> std::chrono::nanoseconds
 
auto sounds::chartAudioLoopLength (const std::span< const ChartAudioEvent > events, const std::chrono::nanoseconds chartLength) -> std::chrono::nanoseconds
 

Variable Documentation

◆ events

std::vector<ChartAudioEvent> events

◆ loopLength

std::chrono::nanoseconds loopLength

◆ sounds

std::unordered_map<std::uint64_t, std::shared_ptr<Sound> > sounds