All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Bluetooth ALSA: a2play plays MP3s too fast
@ 2006-11-09  9:00 adi007
  2006-11-09 21:06 ` dleo
  0 siblings, 1 reply; 4+ messages in thread
From: adi007 @ 2006-11-09  9:00 UTC (permalink / raw)
  To: bluez-devel

Hi fellows,

after figuring out, how to set the passkey-agent for the HCI-daemon
I finally was able to connect my new SONY VGP-BRM1D bluetooth audio
headset with my Linux box and stream audio playback of mpg123 to
the headset with a2play. Here's what I did in short:

1. find headset with "hcitool scan"
2. set passkey for headset with "passkey-agent 0000 <address>"
3. connect to headset with "btsco -v -r <address>"
4. stream audio with "mpg123 --au - file.mp3 | a2play <address>"

The sound quality is just find with 44,1kHz, Stereo. But the playback
of the MP3 is just a bit too fast (high pitched) and varies with
CPU-load, i.e. getting the computer busy makes the music slow down.

I tried the various options for a2play regarding the timing stuff
(-i, -n, -p), but none helped. I also changed the value for "TICKS"
in the a2play-source (a2play.c).


Here my specs:

Kernel: Linux 2.6.19-rc5 (also 2.6.17.9)
Computer: IBM Thinkpad 240X, PIII-500, 192MB RAM
BT-Dongle: Acer Bluetooth USB
Headset: SONY VGP-BRM1D (http://www.jp.sonystyle.com/Qnavi/Detail/VGP-BRM1D=
.html).

Best Regards,

Adrian Glaubitz


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: g=FCnstig
und schnell mit DSL - das All-Inclusive-Paket f=FCr clevere Doppel-Sparer,
nur  44,85 =80  inkl. DSL- und ISDN-Grundgeb=FChr!
http://www.arcor.de/rd/emf-dsl-2

-------------------------------------------------------------------------
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 easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Bluez-devel] Bluetooth ALSA: a2play plays MP3s too fast
@ 2006-11-09  8:58 Adrian Glaubitz
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Glaubitz @ 2006-11-09  8:58 UTC (permalink / raw)
  To: bluez-devel

Hi fellows,

after figuring out, how to set the passkey-agent for the HCI-daemon
I finally was able to connect my new SONY VGP-BRM1D bluetooth audio
headset with my Linux box and stream audio playback of mpg123 to
the headset with a2play. Here's what I did in short:

1. find headset with "hcitool scan"
2. set passkey for headset with "passkey-agent 0000 <address>"
3. connect to headset with "btsco -v -r <address>"
4. stream audio with "mpg123 --au - file.mp3 | a2play <address>"

The sound quality is just find with 44,1kHz, Stereo. But the playback
of the MP3 is just a bit too fast (high pitched) and varies with
CPU-load, i.e. getting the computer busy makes the music slow down.

I tried the various options for a2play regarding the timing stuff
(-i, -n, -p), but none helped. I also changed the value for "TICKS"
in the a2play-source (a2play.c).


Here my specs:

Kernel: Linux 2.6.19-rc5 (also 2.6.17.9)
Computer: IBM Thinkpad 240X, PIII-500, 192MB RAM
BT-Dongle: Acer Bluetooth USB
Headset: SONY VGP-BRM1D (http://www.jp.sonystyle.com/Qnavi/Detail/VGP-BRM1D.html).

Best Regards,

Adrian Glaubitz

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-10  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09  9:00 [Bluez-devel] Bluetooth ALSA: a2play plays MP3s too fast adi007
2006-11-09 21:06 ` dleo
2006-11-10  8:02   ` [Bluez-devel] RE : " Frederic Dalleau
  -- strict thread matches above, loose matches on Subject: below --
2006-11-09  8:58 [Bluez-devel] " Adrian Glaubitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.