Return-Path: Message-ID: <44CF13C6.6050907@palmsource.com> Date: Tue, 01 Aug 2006 10:41:42 +0200 From: =?ISO-8859-1?Q?Fr=E9d=E9ric_DALLEAU?= MIME-Version: 1.0 To: BlueZ development References: <1154413514.27192.8.camel@localhost> In-Reply-To: <1154413514.27192.8.camel@localhost> Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi, I use xmms everyday. Have a look at a2dpd. It's an alternative a2dp = plugin and a daemon. You'll easily set it up and you can find = documentation here : = http://sourceforge.net/mailarchive/forum.php?thread_id=3D20199009&forum_id= =3D1881 For your compilation problem, I used to get a warning about `LIBS' previously defined here and one with alsa-plugins/Makefile.am: object `a2dp_timer.$(OBJEXT)' created both = with libtool and without alsa-plugins/Makefile.am: object `a2dp_ipc.$(OBJEXT)' created both = with libtool and without I added a2dpd_CFLAGS =3D -pthread which removed the second warning... But these are only warnings which should not break compilation. As I = cannot reproduce your problem (ubuntu 5.1), could you please give us = full compiler output. This will allow for easier debbuging. Let us know about your success, Fr=E9d=E9ric. Andrew Waldram a =E9crit : >Hi guys , > >Sorry this is a bit noddy but I'm not a developer > >the latest changes to a2pd plugin stop btsco compiling as your trying to >re-use variables. > >Adding > >bin_PROGRAMS =3D a2dpd >a2dpd_SOURCES =3D a2dpd.c a2dplib.c a2dp_timer.c a2dp_ipc.c >----->>>>> a2dpd_CFLAGS =3D $(AM_CFLAGS) > >to the makefile.am in the pluggin filder will fix it by renaming the >variable timer and icp during compile time, = > >it almost a no-op just fixes the compiler dont know if thats the right >way to do it though. > >Also when I use XMMS with my HP bluetooth headphones then every time a >track finishes the the headphones stop (next also does this), but >alsaplayer is fine. > >here is whats happening during skip > >SBC Bandwidth =3D 26 kbps [26703 bps] >SBC Bandwidth =3D 26 kbps [27324 bps] >SBC Bandwidth =3D 26 kbps [27324 bps] >Awaiting command >SBC Bandwidth =3D 26 kbps [27324 bps] >SBC Bandwidth =3D 26 kbps [27324 bps] >DEBUG: a2dp_stop: a2dp 0x82668d8 >DEBUG: a2dp_stop: Listen thread terminating >Thread in signal handler 14 >Error while receiving -1 (errno=3D4:Interrupted system call) >listen_thread: ending perfeclty >DEBUG: a2dp_stop: Listen thread terminated >DEBUG: a2dp_stop: OK >DEBUG: a2dp_stop: a2dp 0x82668d8 >DEBUG: a2dp_stop: Listen thread terminating >DEBUG: a2dp_stop: Listen thread terminated >DEBUG: a2dp_stop: OK >DEBUG: a2dp_close: a2dp Destroying 0x82668d8 >DEBUG: a2dp_close: OK >DEBUG: _snd_pcm_a2dp_open: name pcm.headphone mode 1 >DEBUG: _snd_pcm_a2dp_open: bdaddr/dest is 00:0D:44:2A:5C:12 >DEBUG: a2dp_constraint: TEST a2dp 0x82668d8 >DEBUG: a2dp_params: a2dp 0x82668d8 >DEBUG: a2dp_params: format S16_LE rate 44100 channels 2 >DEBUG: a2dp_params: frame_bytes 4 period_bytes 8192 period_size 2048 >buffer_size 4096 >DEBUG: a2dp_prepare: a2dp 0x82668d8 >SBC Bandwidth =3D 19 kbps [19872 bps] >SBC Bandwidth =3D 26 kbps [26703 bps] >SBC Bandwidth =3D 26 kbps [26703 bps] > >Yet it doesn't start playing again , but restarting xmms start sound >again > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share yo= ur >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD= EVDEV >_______________________________________________ >Bluez-devel mailing list >Bluez-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/bluez-devel > = > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel