/Engine/Source/Runtime/Engine/Public/AudioDevice.h
Creates an audio component to handle playing a sound.
The created audio component if the function successfully created one or a nullptr if not successful. Note: if audio is disabled or if there were no hardware audio devices available, this will return nullptr.
static [UAudioComponent](API\Runtime\Engine\Components\UAudioComponent) * CreateComponent ( [USoundBase](API\Runtime\Engine\Sound\USoundBase) * Sound, const [FCreateComponentParams](API\Runtime\Engine\FAudioDevice\FCreateComponentParams) & Params )