From 47f43c2e350caaa9d41b4d3a4dfb991e1e0f4ad3 Mon Sep 17 00:00:00 2001 From: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> Date: Fri, 16 Jul 2021 14:05:26 -0700 Subject: [PATCH] Fixing casing typo and type coming from CryCommon Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> --- Code/Editor/WipFeatureManager.h | 2 +- .../Platform/Android/MicrophoneSystemComponent_Android.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Editor/WipFeatureManager.h b/Code/Editor/WipFeatureManager.h index 7b18773307..2a9228365e 100644 --- a/Code/Editor/WipFeatureManager.h +++ b/Code/Editor/WipFeatureManager.h @@ -11,7 +11,7 @@ #pragma once #include -#include +#include /* This class is used to control work in progress features at runtime, so QA can test even if the end user will not see those features diff --git a/Gems/Microphone/Code/Source/Platform/Android/MicrophoneSystemComponent_Android.cpp b/Gems/Microphone/Code/Source/Platform/Android/MicrophoneSystemComponent_Android.cpp index 3b6cb90c09..7c6d227a9b 100644 --- a/Gems/Microphone/Code/Source/Platform/Android/MicrophoneSystemComponent_Android.cpp +++ b/Gems/Microphone/Code/Source/Platform/Android/MicrophoneSystemComponent_Android.cpp @@ -36,7 +36,7 @@ namespace Audio virtual ~MicrophoneSystemEventsAndroid() = default; - virtual void HandleIncomingData(int8* data, int size) {} + virtual void HandleIncomingData(AZ::s8* data, int size) {} }; using MicrophoneSystemEventsAndroidBus = AZ::EBus; @@ -170,9 +170,9 @@ namespace Audio #endif } - void HandleIncomingData(int8* data, int size) override + void HandleIncomingData(AZ::s8* data, int size) override { - m_captureData->AddData((int16*)data, size / 2, m_config.m_numChannels); + m_captureData->AddData((AZ::s16*)data, size / 2, m_config.m_numChannels); } private: