From 124bf67bf4ec0920d24a5afdfb1bc2190305bebd Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Mon, 3 Dec 2012 15:32:52 +0200 Subject: [PATCH] resource-asm: changed the commands sent to applications over ASM. --- src/plugins/plugin-resource-asm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/plugin-resource-asm.c b/src/plugins/plugin-resource-asm.c index e904dec..c3409d0 100644 --- a/src/plugins/plugin-resource-asm.c +++ b/src/plugins/plugin-resource-asm.c @@ -359,12 +359,12 @@ static void event_cb(uint32_t request_id, mrp_resource_set_t *set, void *data) * process server side notifications in that case */ if (mrp_get_resource_set_grant(d->rset)) - reply.sound_command = ASM_COMMAND_PLAY; + reply.sound_command = ASM_COMMAND_RESUME; else - reply.sound_command = ASM_COMMAND_STOP; + reply.sound_command = ASM_COMMAND_PAUSE; /* FIXME: the player-player case needs to be solved here? */ - reply.event_source = ASM_EVENT_SOURCE_RESOURCE_CONFLICT; + reply.event_source = ASM_EVENT_SOURCE_OTHER_PLAYER_APP; mrp_transport_senddata(d->ctx->t, &reply, TAG_ASM_TO_LIB_CB); -- 2.7.4