summaryrefslogtreecommitdiff
path: root/platform/haiku/os_haiku.cpp
diff options
context:
space:
mode:
authorKostadin Damyanov <maxmight@gmail.com>2015-07-26 02:18:32 +0300
committerKostadin Damyanov <maxmight@gmail.com>2015-07-26 02:18:32 +0300
commitf5bfd497aab7e24a6f4dc0315e9e9333504067a0 (patch)
treefd5e00c23b64127ef5bb5b43e9449af43b402abd /platform/haiku/os_haiku.cpp
parentf8db8b72155ef904b9399295d3c40737e265e2ad (diff)
Haiku: add sound support
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r--platform/haiku/os_haiku.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 2c29260281..1edb23d504 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -11,7 +11,9 @@
OS_Haiku::OS_Haiku() {
- AudioDriverManagerSW::add_driver(&driver_dummy);
+#ifdef MEDIA_KIT_ENABLED
+ AudioDriverManagerSW::add_driver(&driver_media_kit);
+#endif
};
void OS_Haiku::run() {