mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-01 01:41:37 +00:00
27 lines
770 B
C
27 lines
770 B
C
#ifndef _CUBEB_SLES_H_
|
|
#define _CUBEB_SLES_H_
|
|
#include <OpenSLESProvider.h>
|
|
#include <SLES/OpenSLES.h>
|
|
|
|
static SLresult cubeb_get_sles_engine(
|
|
SLObjectItf *pEngine,
|
|
SLuint32 numOptions,
|
|
const SLEngineOption *pEngineOptions,
|
|
SLuint32 numInterfaces,
|
|
const SLInterfaceID *pInterfaceIds,
|
|
const SLboolean * pInterfaceRequired) {
|
|
return mozilla_get_sles_engine(pEngine, numOptions, pEngineOptions);
|
|
}
|
|
|
|
static void cubeb_destroy_sles_engine(SLObjectItf *self) {
|
|
mozilla_destroy_sles_engine(self);
|
|
}
|
|
|
|
/* Only synchronous operation is supported, as if the second
|
|
parameter was FALSE. */
|
|
static SLresult cubeb_realize_sles_engine(SLObjectItf self) {
|
|
return mozilla_realize_sles_engine(self);
|
|
}
|
|
|
|
#endif
|