Skip to content

Commit

Permalink
Merge pull request #3 from thp/volume-control
Browse files Browse the repository at this point in the history
[workaround] Set media.role to "x-maemo" (Fixes MER#978)
  • Loading branch information
thp committed May 7, 2015
2 parents 310f2bb + f72f41b commit 905facb
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 905facb

Please sign in to comment.