mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-16 10:30:08 +00:00
26 lines
597 B
C++
26 lines
597 B
C++
//
|
|
// libtgvoip is free and unencumbered public domain software.
|
|
// For more information, see http://unlicense.org or the UNLICENSE file
|
|
// you should have received with this source code distribution.
|
|
//
|
|
|
|
#ifndef LIBTGVOIP_OPENSLENGINEWRAPPER_H
|
|
#define LIBTGVOIP_OPENSLENGINEWRAPPER_H
|
|
|
|
#include <SLES/OpenSLES.h>
|
|
#include <SLES/OpenSLES_Android.h>
|
|
|
|
class COpenSLEngineWrapper{
|
|
public:
|
|
static SLEngineItf CreateEngine();
|
|
static void DestroyEngine();
|
|
|
|
private:
|
|
static SLObjectItf sharedEngineObj;
|
|
static SLEngineItf sharedEngine;
|
|
static int count;
|
|
};
|
|
|
|
|
|
#endif //LIBTGVOIP_OPENSLENGINEWRAPPER_H
|