mirror of
https://github.com/izzy2lost/Starship.git
synced 2026-07-05 15:19:42 -07:00
fix audio and other stuff
This commit is contained in:
+3
-3
@@ -27,7 +27,7 @@
|
||||
#include "resource/importers/audio/EnvelopeFactory.h"
|
||||
#include "resource/importers/audio/InstrumentFactory.h"
|
||||
#include "resource/importers/audio/LoopFactory.h"
|
||||
// #include "resource/importers/audio/SampleFactory.h"
|
||||
#include "resource/importers/audio/SampleFactory.h"
|
||||
#include "resource/importers/audio/SoundFontFactory.h"
|
||||
|
||||
#include "port/interpolation/FrameInterpolation.h"
|
||||
@@ -256,10 +256,10 @@ GameEngine::GameEngine() {
|
||||
loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryBinaryAdpcmLoopV0>(), RESOURCE_FORMAT_BINARY,
|
||||
"AdpcmLoop", static_cast<uint32_t>(SF64::ResourceType::AdpcmLoop), 0);
|
||||
|
||||
// loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryBinarySampleV1>(), RESOURCE_FORMAT_BINARY,
|
||||
loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryBinarySampleV1>(), RESOURCE_FORMAT_BINARY,
|
||||
// "Sample", static_cast<uint32_t>(SF64::ResourceType::Sample), 1);
|
||||
|
||||
// loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryXMLSampleV0>(), RESOURCE_FORMAT_XML,
|
||||
loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryXMLSampleV0>(), RESOURCE_FORMAT_XML,
|
||||
// "Sample", static_cast<uint32_t>(SF64::ResourceType::Sample), 0);
|
||||
|
||||
loader->RegisterResourceFactory(std::make_shared<SF64::ResourceFactoryBinarySoundFontV0>(), RESOURCE_FORMAT_BINARY,
|
||||
|
||||
Reference in New Issue
Block a user