aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/oboe.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-18 15:17:53 -0700
committerChris Robinson <[email protected]>2020-04-18 15:17:53 -0700
commit67e54a26697f5e898f5b0e040f18281a28c16023 (patch)
tree2209f07479fea9c4787032cd79d693dee746687c /alc/backends/oboe.cpp
parenta1e5f4eb8374e46348146ee19a031e446a65bade (diff)
Add an Oboe backend stub
Diffstat (limited to 'alc/backends/oboe.cpp')
-rw-r--r--alc/backends/oboe.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp
new file mode 100644
index 00000000..54fd0f1c
--- /dev/null
+++ b/alc/backends/oboe.cpp
@@ -0,0 +1,28 @@
+
+#include "config.h"
+
+#include "oboe.h"
+
+#include "oboe/Oboe.h"
+
+
+bool OboeBackendFactory::init() { return true; }
+
+bool OboeBackendFactory::querySupport(BackendType /*type*/)
+{ return false; }
+
+std::string OboeBackendFactory::probe(BackendType /*type*/)
+{
+ return std::string{};
+}
+
+BackendPtr OboeBackendFactory::createBackend(ALCdevice* /*device*/, BackendType /*type*/)
+{
+ return nullptr;
+}
+
+BackendFactory &OboeBackendFactory::getFactory()
+{
+ static OboeBackendFactory factory{};
+ return factory;
+}