Commit 905facb2 authored by Thomas Perl's avatar Thomas Perl

Merge pull request #3 from thp/volume-control

[workaround] Set media.role to "x-maemo" (Fixes MER#978)
parents 310f2bba f72f41b1
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment