Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Thomas Perl committed Dec 27, 2013
1 parent 949df13 commit 2378b0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/audioresource.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 2378b0e

Please sign in to comment.