14 lines
386 B
C++
14 lines
386 B
C++
#include "core/audio/audio_adapter.hpp"
|
|
|
|
#include "core/resources/resource_cache.hpp"
|
|
|
|
namespace AudioResource {
|
|
auto getMusic(const std::string& name) -> JA_Music_t* {
|
|
return Resource::Cache::get()->getMusic(name);
|
|
}
|
|
|
|
auto getSound(const std::string& name) -> JA_Sound_t* {
|
|
return Resource::Cache::get()->getSound(name);
|
|
}
|
|
} // namespace AudioResource
|