project64/Source/Project64-audio/Driver/OpenSLES.h

27 lines
755 B
C
Raw Normal View History

2021-03-02 02:13:17 +00:00
// Project64 - A Nintendo 64 emulator
// http://www.pj64-emu.com/
// Copyright(C) 2001-2021 Project64.
// Copyright(C) 2015 Gilles Siberlin
// Copyright(C) 2007 - 2009 Richard Goedeken
// Copyright(C) 2007 - 2008 Ebenblues
// Copyright(C) 2003 JttL
// Copyright(C) 2002 Hacktarux
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
2017-09-12 07:58:35 +00:00
#pragma once
2017-09-20 07:24:54 +00:00
#include <Common/SyncEvent.h>
#include <Project64-audio/Audio_1.1.h>
2017-09-12 07:58:35 +00:00
#include "SoundBase.h"
class OpenSLESDriver :
public SoundDriverBase
{
public:
2017-09-14 08:07:12 +00:00
void AI_Startup(void);
void AI_Shutdown(void);
void AI_SetFrequency(uint32_t freq, uint32_t BufferSize);
void AI_LenChanged(uint8_t *start, uint32_t length);
2017-09-20 07:24:54 +00:00
void AI_Update(bool Wait);
private:
SyncEvent m_AiUpdateEvent;
2017-09-12 07:58:35 +00:00
};