From: Brad Midgley <bmidgley@xmission.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Big patch to a2dpd
Date: Tue, 05 Sep 2006 21:06:27 -0600 [thread overview]
Message-ID: <44FE3B33.6040405@xmission.com> (raw)
In-Reply-To: <554C5F4C5BA7384EB2B412FD46A3BAD1012FED83@pdsmsx411.ccr.corp.intel.com>
Lea
You seem to be proposing two different changes below. Do we need to
discuss which one is best?
thanks
Brad
> I've tried it on my XScale board. It is perfect but only one line to be modified to make default alsa device work smoothly. See below patch:
> The better way is to modify the code in alsa_transfer_raw(), I think, as below:
>
> case -EPIPE:
> // To manage underrun, we will try to recover from error state
> if(xrun_recovery(alsa->playback_handle, result) == 0)
> result = 0;
> DBG("EPIPE(%d)", result);
> break;
> case -ESTRPIPE:
> if(xrun_recovery(alsa->playback_handle, result) == 0)
> result=0;
> DBG("ESTRPIPE(%d)", result);
> break;
> }
>
> ========patch begin========
> --- a2dpd.c.old 2006-09-02 13:53:31.601040096 +0800
> +++ a2dpd.c 2006-09-02 13:14:53.065511072 +0800
> @@ -716,7 +716,7 @@
> blockstart += blocksize;
> ibytespersecond += transfer;
> a2dp_timer_notifyframe(&TimerInfos);
> - } else {
> + } else if (! (lpDevice->bredirectalsa)){
> printf("Error in a2dp_transfer_raw\n");
> bError = 1;
> }
> ========patch end========
>
> Thanks,
> Lea
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2006-09-06 3:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-02 6:21 [Bluez-devel] Big patch to a2dpd Li, Lea
2006-09-06 3:06 ` Brad Midgley [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-06 3:12 Li, Lea
2006-09-06 3:38 ` Brad Midgley
2006-09-06 9:33 ` Frédéric DALLEAU
2006-09-07 16:48 ` Andrew Waldram
2006-09-07 19:47 ` Brad Midgley
2006-09-07 20:36 ` Michael Frey
2006-09-07 22:46 ` Brad Midgley
2006-09-07 21:06 ` Andrew Waldram
2006-09-07 22:52 ` Brad Midgley
2006-09-02 6:04 Li, Lea
2006-09-02 13:02 ` Michael Frey
2006-08-23 16:55 [Bluez-devel] Small " Frédéric DALLEAU
2006-08-30 14:45 ` Brad Midgley
2006-08-31 16:04 ` [Bluez-devel] Big " Frédéric DALLEAU
2006-09-01 12:57 ` andy
2006-09-01 18:25 ` Michael Frey
2006-09-02 16:05 ` Brad Midgley
2006-09-02 16:08 ` Brad Midgley
2006-09-02 17:01 ` Brad Midgley
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=44FE3B33.6040405@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