mirror of git://git.sysmocom.de/ofono
handsfree-audio: Add additional debugs
This commit is contained in:
parent
a5b040b781
commit
1c2987670d
|
@ -101,6 +101,8 @@ static void send_new_connection(const char *card, int fd, uint8_t codec)
|
||||||
DBusMessage *msg;
|
DBusMessage *msg;
|
||||||
DBusMessageIter iter;
|
DBusMessageIter iter;
|
||||||
|
|
||||||
|
DBG("%p, fd: %d, codec: %hu", card, fd, codec);
|
||||||
|
|
||||||
msg = dbus_message_new_method_call(agent->owner, agent->path,
|
msg = dbus_message_new_method_call(agent->owner, agent->path,
|
||||||
HFP_AUDIO_AGENT_INTERFACE, "NewConnection");
|
HFP_AUDIO_AGENT_INTERFACE, "NewConnection");
|
||||||
if (msg == NULL)
|
if (msg == NULL)
|
||||||
|
@ -183,6 +185,9 @@ static gboolean sco_accept(GIOChannel *io, GIOCondition cond,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBG("SCO connection setup between local: %s and remote: %s",
|
||||||
|
local, remote);
|
||||||
|
|
||||||
send_new_connection(card->path, nsk, card->selected_codec);
|
send_new_connection(card->path, nsk, card->selected_codec);
|
||||||
close(nsk);
|
close(nsk);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue