You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Ethan.Geller, Maxwell.Hayes #ROBOMERGE-SOURCE: CL 11285078 via CL 11285087 #ROBOMERGE-BOT: (v647-11244347) [CL 11285092 by phil popp in Main branch]
27 lines
652 B
C++
27 lines
652 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AudioMixer.h"
|
|
#include "AudioMixerPlatformAndroid.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
class FAudioMixerModuleAndroid : public IAudioDeviceModule
|
|
{
|
|
public:
|
|
|
|
virtual void StartupModule() override
|
|
{
|
|
IAudioDeviceModule::StartupModule();
|
|
|
|
FModuleManager::Get().LoadModuleChecked(TEXT("AudioMixerCore"));
|
|
}
|
|
|
|
virtual bool IsAudioMixerModule() const override { return true; }
|
|
|
|
virtual Audio::IAudioMixerPlatformInterface* CreateAudioMixerPlatformInterface() override
|
|
{
|
|
return new Audio::FMixerPlatformAndroid();
|
|
}
|
|
};
|
|
|
|
IMPLEMENT_MODULE(FAudioMixerModuleAndroid, AudioMixerAndroid);
|