* [Bluez-devel] strange results in a2dp alsa plugin
@ 2005-11-18 16:43 Brad Midgley
0 siblings, 0 replies; only message in thread
From: Brad Midgley @ 2005-11-18 16:43 UTC (permalink / raw)
To: bluez-devel
Marcel
I am getting some really strange stuff happening in my attempt to do an
a2dp alsa plugin. About 90% of the time, the l2cap connection fails...
but then if it does work, I get a segfault inside the sbc library. When
I put a printf inside the library to figure out what was happening, the
segfault went away (but still no audio)! argh.
Would you have a look? Can you make sure rfcomm transport didn't get broken?
I'm basing my effort on your bluez/utils/alsa in the bluez cvs. My diffs
against it are in:
http://bluetooth-alsa.sourceforge.net/avdtp.patch
I have made it default to a2dp but the rfcomm transport should work if
you have "use_rfcomm" as a true boolean option inside .asoundrc
My .asoundrc:
pcm.headphone {
type a2dp
bdaddr "00:0D:3C:30:32:AD"
}
invoked as:
aplay -B 1000000 -D pcm.headphone /usr/share/sounds/linphone/rings/rock.wav
(fwiw, /usr/share/sounds/linphone/rings/rock.wav is reported as signed
16 bit Little Endian, Rate 44100 Hz, Stereo)
Thanks
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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:[~2005-11-18 16:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-18 16:43 [Bluez-devel] strange results in a2dp alsa plugin Brad Midgley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).