summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2018-02-13 02:36:03 +0100
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2018-02-15 07:34:11 -0800
commit4e1923a931a3d849563bbe5d6fe4a52277daf090 (patch)
treeab5d270870178f4702750ac21e8b487aeb1f13a0 /platform
parent2de10aa4679a2a5612a7d7939dbd8e74a4caa886 (diff)
Add dummy audio driver, fix dummy rasterizer
Diffstat (limited to 'platform')
-rw-r--r--platform/server/os_server.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/server/os_server.cpp b/platform/server/os_server.cpp
index 1340303fee..a8be4fbc35 100644
--- a/platform/server/os_server.cpp
+++ b/platform/server/os_server.cpp
@@ -28,6 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "os_server.h"
+#include "drivers/dummy/audio_driver_dummy.h"
#include "drivers/dummy/rasterizer_dummy.h"
#include "print_string.h"
#include "servers/visual/visual_server_raster.h"
@@ -48,12 +49,12 @@ const char *OS_Server::get_video_driver_name(int p_driver) const {
}
int OS_Server::get_audio_driver_count() const {
- return 0;
+ return 1;
}
const char *OS_Server::get_audio_driver_name(int p_driver) const {
- return "";
+ return "Dummy";
}
void OS_Server::initialize_core() {