30 #ifndef SLES_OBJECT_HPP 31 #define SLES_OBJECT_HPP 33 #include <SLES/OpenSLES.h> 44 explicit Object(SLObjectItf _object):object(_object) {}
46 operator SLObjectItf() {
51 return (*object)->Realize(
object, async);
55 (*object)->Destroy(
object);
59 return (*object)->GetInterface(
object, iid, pInterface);
SLresult GetInterface(const SLInterfaceID iid, void *pInterface)
SLresult Realize(bool async)
OO wrapper for an OpenSL/ES SLObjectItf variable.
Object(SLObjectItf _object)