Skip to content

Commit

Permalink
[workaround] Set media.role to "x-maemo" (Fixes MER#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed May 7, 2015
1 parent 310f2bb commit f72f41b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/audioresource.c
Expand Up @@ -63,6 +63,9 @@ audioresource_t *audioresource_init(enum audioresource_type_t type,
audioresource_acquired_callback_t acquired_cb,
void *user_data)
{
// XXX: Workaround for bugs like MAEMO#7159
setenv("PULSE_PROP_media.role", "x-maemo", 1);

const char *type_str;
switch (type) {
case AUDIO_RESOURCE_GAME:
Expand Down

0 comments on commit f72f41b

Please sign in to comment.