Commit Graph

78 Commits

Author SHA1 Message Date
Luiz Augusto Von Dentz
c1d7443db5 Add option to enable/disable unix ipc via audio.conf 2010-09-15 15:05:44 +03:00
Gustavo F. Padovan
8e58667ef0 Move debug() to DBG()
Use the new dynamic debug feature
2010-05-21 18:21:48 +02:00
Gustavo F. Padovan
e891f7df62 Move logging.{c,h} to log.{c,h}
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Johan Hedberg
5592142cb9 Update Nokia copyrights 2010-01-07 01:11:05 -08:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Johan Hedberg
cd66784046 Don't enable the SCO server socket when not necessary
The SCO server socket shouldn't be enabled when neither Gateway nor
Headset support is enabled.
2009-08-11 10:32:53 +03:00
Johan Hedberg
6e843d1110 Fix SCO server socket for HFP HF role 2009-06-19 17:48:30 +03:00
Forrest Zhao
b13f02db1a re-use the sco_server initiated by audio plugin 2009-04-21 13:49:52 +01:00
Alok Barsode
e050cc3d14 Using # operator to stringify plugin name. 2009-04-21 13:25:35 +01:00
Alok Barsode
2f28c39a63 Add priority field to plugin descriptor definition and load plugins in priority order. 2009-04-21 13:23:51 +01:00
Johan Hedberg
dbfd944d83 Fix SCO connect attempt tracking
Without this patch bluetothd would segfault if the device is removed while a
SCO connect attempt is pending.
2009-04-16 09:59:48 +03:00
Luiz Augusto von Dentz
5bac0cf710 Fix segfault while handling an incoming SCO connection.
The device object which the incoming connection is from should implement
Headset interface otherwise headset_get_state segfault.
2009-04-14 11:32:36 -03:00
Johan Hedberg
22911b0b33 Fix device removal while audio IPC client is connected 2009-04-07 17:09:26 +03:00
Luiz Augusto von Dentz
47f426817d Add object field to audio ipc messages. 2009-03-25 18:56:19 -03:00
Luiz Augusto von Dentz
9bdf6ba0c5 Add source and destination fields to audio ipc messages. 2009-03-25 18:56:19 -03:00
Johan Hedberg
abdf12d1ad Use comma as list separator in audio.conf for consistency with main.conf 2009-03-23 11:09:11 +02:00
Alok Barsode
bf6a4a5774 Adding version check for plugins. 2009-03-14 07:11:47 +01:00
Johan Hedberg
1f393331ef Fix audio plugin initialization failure cases 2009-03-12 11:44:38 -03:00
Luiz Augusto von Dentz
10d6858927 Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close. 2009-02-19 16:23:10 -03:00
Luiz Augusto von Dentz
d048052453 Make audio plugin to use BtIO API. 2009-02-19 14:27:38 +02:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Johan Hedberg
065258e35e Cleanup SCO server socket in audio_exit() 2008-10-05 10:58:08 +02:00
Johan Hedberg
79c4a0e6df Change SCO server socket into a generic one
Due to a kernel bug we can't initiate SCO connections if there's
a server socket bound to the same adapter. Therefore use a global
socket bound to BDADDR_ANY instead.
2008-10-04 13:00:38 +02:00
Marcel Holtmann
c74f11481a Fix D-Bus connection init 2008-09-06 01:10:56 +02:00
Claudio Takahasi
d8b05b91dc Audio: Missing DBusConnection unref 2008-09-05 16:08:30 -03:00
Johan Hedberg
86340d34bb Remove unnecessary include 2008-09-03 14:07:28 +03:00
Johan Hedberg
8c565c2146 Add telephony initialization calls to correct places 2008-09-03 14:06:40 +03:00
Luiz Augusto von Dentz
8de21fda4f Make audio plugin to register adapter drivers. 2008-08-12 18:59:36 -03:00
Luiz Augusto von Dentz
12d81a98fe Cleanup audio manager. 2008-07-28 17:15:27 -03:00
Alok Barsode
b76fbc7d29 Adding {driver, priv} list to btd_device and adding
driver as parameter to probe and remove.

Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
2008-07-28 10:47:58 -03:00
Alok Barsode
4b0ab7e43f Adding sdp_record list as parameter to probe.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
2008-07-28 10:47:14 -03:00
Alok Barsode
555fcc9b4b Renaming device to btd_device and making the
necessary changes in plugins.

Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
2008-07-28 10:36:35 -03:00
Claudio Takahasi
c413903361 Fixed missing include 2008-06-30 17:35:47 +00:00
Luiz Augusto von Dentz
e8ca2351ee Fix authorization mechanism for 3.x. 2008-06-17 19:37:36 +00:00
Marcel Holtmann
5243ac4fd2 Update probe/remove callback and implement serial API 2008-06-08 22:57:11 +00:00
Marcel Holtmann
6a87d1b7e5 Have the audio plugin register headset and sink drivers 2008-06-08 21:13:23 +00:00
Marcel Holtmann
8bf636881f Use DBG in plugin to show function names 2008-06-08 20:54:55 +00:00
Marcel Holtmann
caf9fdd6d0 Replace struct device with struct audio_device 2008-05-29 08:05:16 +00:00
Marcel Holtmann
067f966a9b Fix default value handling when config file is not present 2008-05-15 02:51:55 +00:00
Marcel Holtmann
e7d668ac9e Move D-Bus watch functions into libgdbus 2008-05-08 20:23:45 +00:00
Marcel Holtmann
b5514e6c7f Register service and UUIDs in one step 2008-05-08 18:37:09 +00:00
Marcel Holtmann
2af3c3a7dd Remove service daemon activation handling 2008-05-08 17:24:48 +00:00
Claudio Takahasi
9491a544f6 Moving authorization code to dbus-service.c 2008-05-01 13:52:26 +00:00
Claudio Takahasi
3f8860031e fixed build warnings 2008-05-01 01:23:02 +00:00
Claudio Takahasi
098cd10838 fixed service authorization 2008-05-01 01:05:46 +00:00
Marcel Holtmann
34b8fd54ca Fix service description 2008-03-28 20:46:51 +00:00
Luiz Augusto von Dentz
7299869ac7 Convert audio service into a plugin. 2008-03-27 23:07:19 +00:00
Marcel Holtmann
e823c15e43 Update copyright information 2008-02-02 03:37:05 +00:00
Johan Hedberg
3eb854122f Reorganize audio.conf parsing in a more modular manner 2008-01-16 09:08:26 +00:00
Johan Hedberg
9a6980f360 Enable AVRCP by default 2007-11-27 09:15:54 +00:00