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

This commit is contained in:
Alibek Omarov 2019-01-07 04:17:40 +03:00
parent 9935e2c8d3
commit ac77bab967
1 changed files with 2 additions and 6 deletions

View File

@ -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)(
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