From 0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752 Mon Sep 17 00:00:00 2001 From: PaulK Date: Wed, 21 Dec 2011 21:54:03 +0100 Subject: RIL rework: multi-client, more stable, added GPLv3 copyright notice --- snd.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 snd.c (limited to 'snd.c') diff --git a/snd.c b/snd.c new file mode 100644 index 0000000..a0235ff --- /dev/null +++ b/snd.c @@ -0,0 +1,34 @@ +/** + * This file is part of samsung-ril. + * + * Copyright (C) 2010-2011 Joerie de Gram + * Copyright (C) 2011 Paul Kocialkowski + * + * samsung-ril is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * samsung-ril is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with samsung-ril. If not, see . + * + */ + +#define LOG_TAG "RIL-SND" +#include + +#include "samsung-ril.h" +#include "util.h" + +void srs_snd_set_call_clock_sync(struct srs_message *message) +{ + unsigned char data = *((unsigned char *) message->data); + LOGE("SetCallClockSync data is 0x%x\n", data); + + ipc_fmt_send(IPC_SND_CLOCK_CTRL, IPC_TYPE_EXEC, &data, sizeof(data), reqIdNew()); +} -- cgit v1.2.3