UE4: Fixed a minor issue in error logging in XAudio.

[CL 2086276 by Bob Tellez in Main branch]
This commit is contained in:
Bob Tellez
2014-05-29 17:19:18 -04:00
committed by UnrealBot
parent 1fe4f9a390
commit 65e79e5022

View File

@@ -268,9 +268,11 @@ bool FXAudio2Device::ValidateAPICall( const TCHAR* Function, int32 ErrorCode )
case XAUDIO2_E_DEVICE_INVALIDATED:
UE_LOG(LogAudio, Warning, TEXT( "%s error: Device Invalidated" ), Function );
break;
};
UE_LOG(LogAudio, Warning, TEXT( "%s error: Unhandled error code %d" ), Function, ErrorCode );
default:
UE_LOG(LogAudio, Warning, TEXT( "%s error: Unhandled error code %d" ), Function, ErrorCode );
break;
};
return( false );
}