From 2378b0e73c0eb457c9080f0ccfba9b1ce4a219d5 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Fri, 27 Dec 2013 14:08:39 +0100 Subject: [PATCH] [audioresource] Workaround for "Media" type The backend doesn't know about "media" yet, so we fake it to "game" for now until we can fix it there. --- src/audioresource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/audioresource.c b/src/audioresource.c index 1e66a1d..e6d012e 100644 --- a/src/audioresource.c +++ b/src/audioresource.c @@ -69,7 +69,10 @@ audioresource_t *audioresource_init(enum audioresource_type_t type, type_str = "game"; break; case AUDIO_RESOURCE_MEDIA: - type_str = "media"; + //type_str = "media"; + // XXX: Workaround for now, as the backend doesn't + // know about "media" yet + type_str = "game"; break; default: /* Invalid audio resource type */