From ac77bab96760d84fca3c86622d6c416b1e801189 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 7 Jan 2019 04:17:40 +0300 Subject: [PATCH] sound: opensles: same fix applied for OpenSLES/Android backend --- engine/platform/android/snd_opensles.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/engine/platform/android/snd_opensles.c b/engine/platform/android/snd_opensles.c index 46ba2a7f..1b47716b 100644 --- a/engine/platform/android/snd_opensles.c +++ b/engine/platform/android/snd_opensles.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "common.h" +#include "platform.h" #if XASH_SOUND == SOUND_OPENSLES #include #include "pthread.h" @@ -50,7 +51,7 @@ static SLresult SLAPIENTRY (*pslCreateEngine)( const SLboolean * pInterfaceRequired ); -void S_Activate( qboolean active ) +void SNDDMA_Activate( qboolean active ) { if( !dma.initialized ) return; @@ -301,9 +302,4 @@ int SNDDMA_GetSoundtime( void ) return (buffers * fullsamples + samplepos / 2); } - -void S_PrintDeviceName( void ) -{ - Msg( "Audio: OpenSL\n" ); -} #endif