From: Brad Midgley <bmidgley@xmission.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Info a2play
Date: Tue, 20 Dec 2005 07:58:45 -0700 [thread overview]
Message-ID: <43A81C25.3070106@xmission.com> (raw)
In-Reply-To: <5307d89f0512200011i7a6784dfie08a56569a90381d@mail.gmail.com>
Patrick
> I saw on a website "LiveJournal" that it is possible to
> use beep-media-player to stream your mp3 to a bluetooth stereo headset
> with a2play.
> The syntax is like this:
>
> beep-media-player | sox -c 2 -t raw -r 44100 -w
> -s - -t au - | ./a2play <http://bluetooth-alsa.sourceforge.net/> -p
> 00:0D:44:2A:14:66
> <http://www.shopping.hp.com/webapp/shopping/product_detail.do?product_code=FA303A%23AC3>
>
> with this in the .asoundrc
>
>
> pcm.stdout {
> type file
> slave.pcm null
> file /dev/stdout
>
> }
it is an interesting way to get an alsa client to work. if it works out,
we should document it ourselves.
>
>
> When I do this I get an error:
>
> couldn't open 00:08:E0:09:75:6F
>
> What does the option "-p" with a2play means?
it's to use pthreads and the rtc to get finer control of packet timing.
it's a new feature.
> If I do this without the "-p" option I get the following error:
>
> out of sync (0x2e)
> couldn't read header on -
it seems that the audio format isn't coming out right, but it's probably
because a2play is old.
>
> When I do this:
>
> mpg123 --au - file.mp3 | sbc/sbcenc - | ./a2play
> 00:08:E0:09:75:6F
> Then It works with my headset. But the music is interrupted sometimes.
> How does it come?
are you running an old version of a2play? we haven't had to pipe the
encoder in the chain for a long time. run a2play with no options and if
it doesn't show -p as a valid option you need to get the current one
from cvs.
brad
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-12-20 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-20 8:11 [Bluez-users] Info a2play Patrick Libert
2005-12-20 14:58 ` Brad Midgley [this message]
2005-12-20 21:20 ` [Bluez-users] " Patrick Libert
2006-01-10 16:48 ` 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=43A81C25.3070106@xmission.com \
--to=bmidgley@xmission.com \
--cc=bluez-users@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;
as well as URLs for NNTP newsgroup(s).