17class SoundLoader :
public PriorityBaseProvider<SoundLoader> {
19 SoundLoader(std::string_view name, std::string_view description,
int priority) : PriorityBaseProvider<SoundLoader>(name, description, priority)
21 ProviderManager<SoundLoader>::Register(*
this);
24 ~SoundLoader()
override
26 ProviderManager<SoundLoader>::Unregister(*
this);
37 virtual bool Load(
SoundEntry &sound,
bool new_format, std::vector<std::byte> &data)
const = 0;
virtual bool Load(SoundEntry &sound, bool new_format, std::vector< std::byte > &data) const =0
Load a sound from the file and offset in the given sound entry.