From 5303a63fee9d5819e0c46e6cb804721c09f409df Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Thu, 6 Jun 2013 16:41:32 +0300 Subject: [PATCH] bluetooth-client: adapted to API changes. --- src/plugins/bluetooth-client/clients.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/plugins/bluetooth-client/clients.c b/src/plugins/bluetooth-client/clients.c index 25f4d37..8dc1f7a 100644 --- a/src/plugins/bluetooth-client/clients.c +++ b/src/plugins/bluetooth-client/clients.c @@ -30,7 +30,8 @@ static int ncommand = (sizeof(commands) / sizeof(commands[0])) - 1; static int play_samples(context_t *, size_t, int16_t *); static int notify_focus(srs_client_t *, srs_voice_focus_t); -static int notify_command(srs_client_t *, int, char **); +static int notify_command(srs_client_t *, int, int, char **, void *, size_t, + uint32_t *, uint32_t *); static device_t *device_find(clients_t *, const char *); static void device_free(void *, void *); @@ -329,7 +330,10 @@ static int notify_focus(srs_client_t *srs_client, srs_voice_focus_t focus) return TRUE; } -static int notify_command(srs_client_t *srs_client, int ntoken, char **tokens) +static int notify_command(srs_client_t *srs_client, int idx, + int ntoken, char **tokens, + void *samplebuf, size_t samplelen, + uint32_t *start, uint32_t *end) { context_t *ctx; clients_t *clients; @@ -338,6 +342,8 @@ static int notify_command(srs_client_t *srs_client, int ntoken, char **tokens) char *e, *p, *sep; int i; + MRP_UNUSED(idx); + if (!srs_client || !(ctx = srs_client->user_data) || !(clients = ctx->clients)) return FALSE; -- 2.7.4