RhythmGame 1.4.3
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
loadBmsSounds.h File Reference
#include "charts/BmsNotesData.h"
#include "sounds/AudioEngine.h"
#include <QByteArray>
#include <atomic>
#include <filesystem>
#include <memory>
#include <unordered_map>
#include "sounds/Sound.h"
Include dependency graph for loadBmsSounds.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  resource_managers
 Classes and functions related to loading and managing resources such as charts, sounds, images, etc.
 
namespace  charts
 Classes and functions related to loading and calculating offsets in BMS charts.
 

Typedefs

using charts::EncodedSound = std::shared_ptr< const QByteArray >
 
using charts::EncodedSounds = std::unordered_map< uint64_t, EncodedSound >
 

Functions

auto charts::loadArchivedSoundData (resource_managers::SongAssetStore *assetStore, const std::filesystem::path &chartDirectory, const std::unordered_map< uint64_t, std::filesystem::path > &paths, const std::atomic_bool *cancellation) -> EncodedSounds
 
auto charts::loadBmsSounds (sounds::AudioEngine *engine, const std::unordered_map< uint64_t, std::filesystem::path > &wavs, const std::filesystem::path &path, const std::atomic_bool *cancellation) -> std::unordered_map< uint64_t, std::shared_ptr< sounds::Sound > >
 
auto charts::loadBmsSounds (sounds::AudioEngine *engine, const EncodedSounds &wavs, const std::atomic_bool *cancellation) -> std::unordered_map< uint64_t, std::shared_ptr< sounds::Sound > >
 
auto charts::loadBmsonSounds (sounds::AudioEngine *engine, const std::unordered_map< uint64_t, std::filesystem::path > &channelPaths, const std::vector< BmsNotesData::BmsonSliceInfo > &slices, const std::unordered_map< uint64_t, std::vector< uint64_t > > &fusions, const std::filesystem::path &basePath, const std::atomic_bool *cancellation=nullptr) -> std::unordered_map< uint64_t, std::shared_ptr< sounds::Sound > >
 Loads and slices sounds for a bmson chart.
 
auto charts::loadBmsonSounds (sounds::AudioEngine *engine, const EncodedSounds &channels, const std::vector< BmsNotesData::BmsonSliceInfo > &slices, const std::unordered_map< uint64_t, std::vector< uint64_t > > &fusions, const std::atomic_bool *cancellation) -> std::unordered_map< uint64_t, std::shared_ptr< sounds::Sound > >