* [Bluez-devel] Using ekiga with bluetooth headset
@ 2007-04-20 8:05 Guillaume Bedot
0 siblings, 0 replies; only message in thread
From: Guillaume Bedot @ 2007-04-20 8:05 UTC (permalink / raw)
To: Ekiga mailing list; +Cc: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
Hello,
I'm currently using ekiga with a USB bluetooth dongle (ASUS WL-BTD202)
and a bluetooth headset (PROF PBH-6W).
It's quite tricky yet (patching kernel, pwlib, and compile several
software from CVS...), but works. thanks to the devs :-)
Here is a simple update of the patch that can be found on plugz's cvs,
to apply on pwlib 1.10.7 (and maybe some previous versions).
I'd like to enhance the patch with detecting the headset, but don't know
how...
Should pwlib interact with headsetd to ask if a headset is currently
connected ?
Best regards,
Guillaume B.
[-- Attachment #2: pwlib-1.10.7-btheadset.patch --]
[-- Type: text/x-patch, Size: 903 bytes --]
--- pwlib-1.10.7.orig/plugins/sound_alsa/sound_alsa.cxx 2007-04-19 18:07:46.000000000 +0200
+++ pwlib-1.10.7/plugins/sound_alsa/sound_alsa.cxx 2007-04-19 18:12:22.000000000 +0200
@@ -284,6 +284,8 @@
devices += playback_devices.GetKeyAt (j);
}
+ devices += "Bluetooth headset";
+
return devices;
}
@@ -330,6 +332,10 @@
real_device_name = "default";
card_nr = -2;
}
+ else if(_device == "Bluetooth headset") {
+ real_device_name = "headset";
+ card_nr = -3;
+ }
else {
if ((_dir == Recorder && capture_devices.IsEmpty ())
@@ -840,10 +846,15 @@
if (!os_handle)
return FALSE;
- if (card_nr == -2)
+ if (card_nr == -2) {
card_name = "default";
- else
+ }
+ else if(card_nr == -3) {
+ card_name = "headset";
+ }
+ else {
card_name = "hw:" + PString (card_nr);
+ }
//allocate simple id
snd_mixer_selem_id_alloca (&sid);
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-20 8:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 8:05 [Bluez-devel] Using ekiga with bluetooth headset Guillaume Bedot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox