小编Vec*_*orX的帖子

虚幻引擎AudioRecord()启动错误-38 Android

这个错误已经在史诗游戏方面得到了证实,但是,对于那些已经遇到过同样问题的人来说,它是否有任何快速解决方案?它仅在应用程序第二次加载时发生.我使用android studio调试它,发现当应用程序第二次启动时会触发AudioRecord()启动错误-38.

这是错误UE-62389的链接

这是我的.h

    // Fill out your copyright notice in the Description page of Project Settings.    
 #pragma once     
 #include "CoreMinimal.h"
 #include "Components/ActorComponent.h"

 #include "Runtime/Online/Voice/Public/VoiceModule.h"
 #include "VolumeCapture.generated.h"


 UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
 class MYPROJECT2_API UVolumeCapture : public UActorComponent
 {
     GENERATED_BODY()

 public:    
     // Sets default values for this component's properties
     UVolumeCapture();

 protected:
     // Called when the game starts
     virtual void BeginPlay() override;

 public:    
     // Called every frame
     virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
     TSharedPtr<IVoiceCapture> VoiceCapture_V;    
     uint32 VoiceCaptureBytesAvailable; …
Run Code Online (Sandbox Code Playgroud)

c++ android unreal-engine4

5
推荐指数
0
解决办法
199
查看次数

标签 统计

android ×1

c++ ×1

unreal-engine4 ×1