Linux bluetooth development
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] pcm_a2dp_works
Date: Wed, 26 Apr 2006 00:19:23 -0600	[thread overview]
Message-ID: <444F10EB.90908@xmission.com> (raw)
In-Reply-To: <20060418162647.2732.qmail@web31011.mail.mud.yahoo.com>

Sergey

> i have made the pcm_a2dp plugin to work. mainly it was
> cut and past from a2play program. now i can select
> headphone as my alsa output device. XMMS and mplayer
> both work. 

I made some changes to what you gave us. I made it use the system's
libsbc since the sbc inside the project is not built properly as a
shared lib (install libsbc from cvs in the
http://sourceforge.net/projects/sbc project)

I had to recode to retry some connections since alsa was interrupting
system calls.

However, I'm still finding that

aplay -B 1000000 -D pcm.headphone ~/sound.wav

will segfault. It's when the memmove at line 706 is being called with a
0 for the length to copy.

fwiw, my sound.wav is available at bluetooth-alsa.sf.net/sound.wav

Brad


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2006-04-26  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 16:26 [Bluez-devel] pcm_a2dp_works Sergey Krivov
2006-04-24 16:45 ` Brad Midgley
2006-04-26  6:19 ` Brad Midgley [this message]
2006-04-26  8:27   ` Brad Midgley
2006-04-26 10:51   ` Sergey Krivov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=444F10EB.90908@xmission.com \
    --to=bmidgley@xmission.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox