NERtc Wwise SDK 适配 Unreal Engine V5.4.129
载入中...
搜索中...
未找到
NertcBase.h 文件参考
#include "CoreMinimal.h"

浏览该文件的源代码.

class  nertc::wwiseplugin::RtcConstants
 
struct  nertc::wwiseplugin::RtcAudioVolumeInfo
 
struct  nertc::wwiseplugin::RtcDeviceInfo
 
struct  nertc::wwiseplugin::RtcEngineContext
 

命名空间

namespace  nertc
 
namespace  nertc::wwiseplugin
 

宏定义

#define NERTC_PLUGIN_API
 
#define NERTC_PLUGIN_CALL
 
#define kWWISEPLUGINMaxDeviceIDLength   256
 
#define kWWISEPLUGINMaxDeviceNameLength   256
 

枚举

enum  nertc::wwiseplugin::RtcLogLevel {
  nertc::wwiseplugin::kWWISEPLUGINLevelFatal = 0 , nertc::wwiseplugin::kWWISEPLUGINLevelError = 1 , nertc::wwiseplugin::kWWISEPLUGINLevelWarning = 2 , nertc::wwiseplugin::kWWISEPLUGINLevelInfo = 3 ,
  nertc::wwiseplugin::kWWISEPLUGINLevelDetailInfo = 4 , nertc::wwiseplugin::kWWISEPLUGINLevelVerbos = 5 , nertc::wwiseplugin::kWWISEPLUGINLevelDebug = 6 , nertc::wwiseplugin::kWWISEPLUGINLevelOff = 7
}
 
enum  nertc::wwiseplugin::RtcConnectionStateType {
  nertc::wwiseplugin::kWWISEPLUGINConnectionStateDisconnected = 1 , nertc::wwiseplugin::kWWISEPLUGINConnectionStateConnecting = 2 , nertc::wwiseplugin::kWWISEPLUGINConnectionStateConnected = 3 , nertc::wwiseplugin::kWWISEPLUGINConnectionStateReconnecting = 4 ,
  nertc::wwiseplugin::kWWISEPLUGINConnectionStateFailed = 5
}
 
enum  nertc::wwiseplugin::RtcReasonConnectionChangedType {
  nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedLeaveChannel = 1 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedChannelClosed = 2 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedBeKicked = 3 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedTimeOut = 4 ,
  nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedJoinChannel = 5 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedJoinSucceed = 6 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedReJoinSucceed = 7 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedMediaConnectionDisconnected = 8 ,
  nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedSignalDisconnected = 9 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedRequestChannelFailed = 10 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedJoinChannelFailed = 11 , nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedReDispatch = 12 ,
  nertc::wwiseplugin::kWWISEPLUGINReasonConnectionChangedSettingProxyServer = 13
}
 
enum  nertc::wwiseplugin::RtcNetworkType {
  nertc::wwiseplugin::kWWISEPLUGINNetworkTypeUnknown = 0 , nertc::wwiseplugin::kWWISEPLUGINNetworkTypeEthernet , nertc::wwiseplugin::kWWISEPLUGINNetworkTypeWifi , nertc::wwiseplugin::kWWISEPLUGINNetworkType2G ,
  nertc::wwiseplugin::kWWISEPLUGINNetworkType3G , nertc::wwiseplugin::kWWISEPLUGINNetworkType4G , nertc::wwiseplugin::kWWISEPLUGINNetworkType5G , nertc::wwiseplugin::kWWISEPLUGINNetworkTypeWWAN ,
  nertc::wwiseplugin::kWWISEPLUGINNetworkTypeBluetooth , nertc::wwiseplugin::kWWISEPLUGINNetworkTypeNone
}
 
enum  nertc::wwiseplugin::RtcClientRole { nertc::wwiseplugin::kWWISEPLUGINClientRoleBroadcaster = 0 , nertc::wwiseplugin::kWWISEPLUGINClientRoleAudience = 1 }
 
enum  nertc::wwiseplugin::RtcRangeAudioMode { nertc::wwiseplugin::kWWISEPLUGINRangeAudioModeNone = -1 , nertc::wwiseplugin::kWWISEPLUGINRangeAudioModeDefault = 0 , nertc::wwiseplugin::kWWISEPLUGINRangeAudioModeTeam = 1 }
 
enum  nertc::wwiseplugin::RtcAudioProfileType {
  nertc::wwiseplugin::kWWISEPLUGINAudioProfileDefault = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioProfileStandard = 1 , nertc::wwiseplugin::kWWISEPLUGINAudioProfileStandardExtend = 2 , nertc::wwiseplugin::kWWISEPLUGINAudioProfileMiddleQuality = 3 ,
  nertc::wwiseplugin::kWWISEPLUGINAudioProfileMiddleQualityStereo = 4 , nertc::wwiseplugin::kWWISEPLUGINAudioProfileHighQuality = 5 , nertc::wwiseplugin::kWWISEPLUGINAudioProfileHighQualityStereo = 6
}
 
enum  nertc::wwiseplugin::RtcAudioScenarioType { nertc::wwiseplugin::kWWISEPLUGINAudioScenarioDefault = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioScenarioSpeech = 1 , nertc::wwiseplugin::kWWISEPLUGINAudioScenarioMusic = 2 , nertc::wwiseplugin::kWWISEPLUGINAudioScenarioChatroom = 3 }
 
enum  nertc::wwiseplugin::RtcAudioDumpType { nertc::wwiseplugin::kWWISEPLUGINAudioDumpTypePCM = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioDumpTypeAll = 1 , nertc::wwiseplugin::kWWISEPLUGINAudioDumpTypeWAV = 2 }
 
enum  nertc::wwiseplugin::RtcErrorCode {
  nertc::wwiseplugin::kWWISEPLUGINNoError = 0 , nertc::wwiseplugin::kWWISEPLUGINErrChannelReservePermissionDenied = 403 , nertc::wwiseplugin::kWWISEPLUGINErrChannelReserveTimeOut = 408 , nertc::wwiseplugin::kWWISEPLUGINErrChannelReserveErrorParam = 414 ,
  nertc::wwiseplugin::kWWISEPLUGINErrChannelReserveErrorAppKey = 417 , nertc::wwiseplugin::kWWISEPLUGINErrChannelReserveServerFail = 500 , nertc::wwiseplugin::kWWISEPLUGINErrChannelReserveMoreThanTwoUser = 600 , nertc::wwiseplugin::kWWISEPLUGINErrChannelNoPublishPermission = 1620 ,
  nertc::wwiseplugin::kWWISEPLUGINErrChannelNoSubscribePermission = 2803 , nertc::wwiseplugin::kWWISEPLUGINErrServerPersonsInRoomReachedTheLimit = 4003 , nertc::wwiseplugin::kWWISEPLUGINErrFatal = 30001 , nertc::wwiseplugin::kWWISEPLUGINErrOutOfMemory = 30002 ,
  nertc::wwiseplugin::kWWISEPLUGINErrInvalidParam = 30003 , nertc::wwiseplugin::kWWISEPLUGINErrNotSupported = 30004 , nertc::wwiseplugin::kWWISEPLUGINErrInvalidState = 30005 , nertc::wwiseplugin::kWWISEPLUGINErrLackOfResource = 30006 ,
  nertc::wwiseplugin::kWWISEPLUGINErrInvalidIndex = 30007 , nertc::wwiseplugin::kWWISEPLUGINErrDeviceNotFound = 30008 , nertc::wwiseplugin::kWWISEPLUGINErrInvalidDeviceSourceID = 30009 , nertc::wwiseplugin::kWWISEPLUGINErrInvalidVideoProfile = 30010 ,
  nertc::wwiseplugin::kWWISEPLUGINErrCreateDeviceSourceFail = 30011 , nertc::wwiseplugin::kWWISEPLUGINErrInvalidRender = 30012 , nertc::wwiseplugin::kWWISEPLUGINErrDevicePreviewAlreadyStarted = 30013 , nertc::wwiseplugin::kWWISEPLUGINErrTransmitPendding = 30014 ,
  nertc::wwiseplugin::kWWISEPLUGINErrConnectFail = 30015 , nertc::wwiseplugin::kWWISEPLUGINErrDeviceOccupied = 30027 , nertc::wwiseplugin::kWWISEPLUGINErrChannelAlreadyJoined = 30100 , nertc::wwiseplugin::kWWISEPLUGINErrChannelNotJoined = 30101 ,
  nertc::wwiseplugin::kWWISEPLUGINErrChannelRepleatedlyLeave = 30102 , nertc::wwiseplugin::kWWISEPLUGINErrRequestJoinChannelFail = 30103 , nertc::wwiseplugin::kWWISEPLUGINErrSessionNotFound = 30104 , nertc::wwiseplugin::kWWISEPLUGINErrUserNotFound = 30105 ,
  nertc::wwiseplugin::kWWISEPLUGINErrInvalidUserID = 30106 , nertc::wwiseplugin::kWWISEPLUGINErrMediaNotStarted = 30107 , nertc::wwiseplugin::kWWISEPLUGINErrSourceNotFound = 30108 , nertc::wwiseplugin::kWWISEPLUGINErrConnectionNotFound = 30200 ,
  nertc::wwiseplugin::kWWISEPLUGINErrStreamNotFound = 30201 , nertc::wwiseplugin::kWWISEPLUGINErrAddTrackFail = 30202 , nertc::wwiseplugin::kWWISEPLUGINErrTrackNotFound = 30203 , nertc::wwiseplugin::kWWISEPLUGINErrMediaConnectionDisconnected = 30204 ,
  nertc::wwiseplugin::kWWISEPLUGINErrSignalDisconnected = 30205 , nertc::wwiseplugin::kWWISEPLUGINErrServerKicked = 30206 , nertc::wwiseplugin::kWWISEPLUGINErrKickedForRoomClosed = 30207 , nertc::wwiseplugin::kWWISEPLUGINErrChannelLeaveBySwitchAction = 30208 ,
  nertc::wwiseplugin::kWWISEPLUGINErrChannelLeaveByDuplicateUidLogin = 30209 , nertc::wwiseplugin::kWWISEPLUGINErrPTTAuthorizeFailed = 31001 , nertc::wwiseplugin::kWWISEPLUGINErrPTTAuthNetError = 31002 , nertc::wwiseplugin::kWWISEPLUGINErrPTTAuthTimeOut = 31003 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTRecordingAreadyStarted = 31011 , nertc::wwiseplugin::kWWISEPLUGINErrPTTRecordingOpenFileFailed = 31012 , nertc::wwiseplugin::kWWISEPLUGINErrPTTRecordingDurationTooShort = 31013 , nertc::wwiseplugin::kWWISEPLUGINErrPTTRecordingNotStarted = 31014 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTPlayOpenFileFailed = 31021 , nertc::wwiseplugin::kWWISEPLUGINErrPTTPlayReadFileFailed = 31022 , nertc::wwiseplugin::kWWISEPLUGINErrPTTPlayNotStarted = 31023 , nertc::wwiseplugin::kWWISEPLUGINErrPTTUploadOpenFileFailed = 31031 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTUploadFileTooLarge = 31032 , nertc::wwiseplugin::kWWISEPLUGINErrPTTUploadAuthFailed = 31033 , nertc::wwiseplugin::kWWISEPLUGINErrPTTUploadNetError = 31034 , nertc::wwiseplugin::kWWISEPLUGINErrPTTUploadDataError = 31035 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadOpenFileFailed = 31041 , nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadAuthFailed = 31042 , nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadNetError = 31043 , nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadNotFound = 31044 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadDataError = 31045 , nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadAuditing = 31046 , nertc::wwiseplugin::kWWISEPLUGINErrPTTDownloadAuditFailed = 31047 , nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTAuthFailed = 31051 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTNetError = 31052 , nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTTranslateFaild = 31053 , nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTNotFound = 31054 , nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTDataError = 31055 ,
  nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTAuditing = 31056 , nertc::wwiseplugin::kWWISEPLUGINErrPTTSTTAuditFailed = 31057 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMNoAuthorize = 40000 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMInitRecording = 40001 ,
  nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMStartRecording = 40002 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMStopRecording = 40003 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMInitPlayout = 40004 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMStartPlayout = 40005 ,
  nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMStopPlayout = 40006 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMRecordingFailed = 40007 , nertc::wwiseplugin::kWWISEPLUGINRuntimeErrADMPlayoutFailed = 40008
}
 
enum  nertc::wwiseplugin::RtcVoiceAuditStatus {
  nertc::wwiseplugin::kkWWISEPLUGINVoiceAuditUnkonwn = -1 , nertc::wwiseplugin::kkWWISEPLUGINVoiceAuditing = 0 , nertc::wwiseplugin::kkWWISEPLUGINVoiceAuditFinished = 1 , nertc::wwiseplugin::kkWWISEPLUGINVoiceAuditServerError = 2 ,
  nertc::wwiseplugin::kkWWISEPLUGINVoiceAuditUnactivated = 3
}
 
enum  nertc::wwiseplugin::RtcAudioStreamType { nertc::wwiseplugin::kWWISEPLUGINAudioStreamTypeMain = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioStreamTypeSub = 1 }
 
enum  nertc::wwiseplugin::RtcAudioOutputRouting {
  nertc::wwiseplugin::kWWISEPLUGINAudioOutputRoutingDefault = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioOutputRoutingHeadset , nertc::wwiseplugin::kWWISEPLUGINAudioOutputRoutingEarpiece , nertc::wwiseplugin::kWWISEPLUGINAudioOutputRoutingLoudspeaker ,
  nertc::wwiseplugin::kWWISEPLUGINAudioOutputRoutingBluetooth
}
 
enum  nertc::wwiseplugin::RtcAudioDeviceTransportType {
  nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeUnknown = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeBluetooth = 1 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeBluetoothA2DP = 2 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeBluetoothLE = 3 ,
  nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeUSB = 4 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeHDMI = 5 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeBuiltIn = 6 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeThunderbolt = 7 ,
  nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeAirPlay = 8 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeVirtual = 9 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceTransportTypeOther = 10
}
 
enum  nertc::wwiseplugin::RtcAudioDeviceType { nertc::wwiseplugin::kWWISEPLUGINAudioDeviceUnknown = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceRecord , nertc::wwiseplugin::kWWISEPLUGINAudioDevicePlayout }
 
enum  nertc::wwiseplugin::RtcAudioDeviceState { nertc::wwiseplugin::kWWISEPLUGINAudioDeviceActive = 0 , nertc::wwiseplugin::kWWISEPLUGINAudioDeviceUnactive }
 

宏定义说明

◆ kWWISEPLUGINMaxDeviceIDLength

#define kWWISEPLUGINMaxDeviceIDLength   256

设备ID最大长度。

◆ kWWISEPLUGINMaxDeviceNameLength

#define kWWISEPLUGINMaxDeviceNameLength   256

设备名最大长度。

◆ NERTC_PLUGIN_API

#define NERTC_PLUGIN_API

◆ NERTC_PLUGIN_CALL

#define NERTC_PLUGIN_CALL