Browse Source

sound: opensles: same fix applied for OpenSLES/Android backend

pull/2/head
Alibek Omarov 6 years ago
parent
commit
ac77bab967
  1. 8
      engine/platform/android/snd_opensles.c

8
engine/platform/android/snd_opensles.c

@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -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 <SLES/OpenSLES.h>
#include "pthread.h"
@ -50,7 +51,7 @@ static SLresult SLAPIENTRY (*pslCreateEngine)( @@ -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 ) @@ -301,9 +302,4 @@ int SNDDMA_GetSoundtime( void )
return (buffers * fullsamples + samplepos / 2);
}
void S_PrintDeviceName( void )
{
Msg( "Audio: OpenSL\n" );
}
#endif

Loading…
Cancel
Save