Skip to contentSkip to conversation

Audio gaps with bcm2035 and Hama receiver

Bluez-users Remy Bosch 4 participants 13 messages Oct 25, 2007 – Oct 30, 2007 Bluetooth drivers

lore
Share & tools
lore

Remy Bosch

author
#0 lore raw

Hi,

I'd like to have my sound sent over from my laptop with a BCM2035 chip to a Hama receiver. Though it works fine under W*ws, the sound under Linux is broken off every minute for a second to continue afterwards. I used mplayer and xmms2. and both have this problem.

I use bluez-libs/utils 3.2
Commands to get audio online:
dbus-send --system --print-reply --dest=org.bluez /org/bluez \
org.bluez.Manager.ActivateService string:audio dbus-send --system --type=method_call --print-reply --dest=":1.19" /org/bluez/audio \ org.bluez.audio.Manager.CreateDevice string:00:10:60:9F:32:3B

For some reason sco isn't used...

Thanks!

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Remy,

Quoted 4 lines

I'd like to have my sound sent over from my laptop with a BCM2035 chip to a Hama receiver. Though it works fine under W*ws, the sound under Linux is broken off every minute for a second to continue afterwards. I used mplayer and xmms2. and both have this problem.

try the version from CVS or wait until I release a new one. These issues should be fixed now.

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw
Quoted 9 lines · Marcel Holtmann

Hi Remy,

try the version from CVS or wait until I release a new one. These issues should be fixed now.

Regards

Marcel

You mean that the issue was resolved after 3.21? Just installed the 3.21 lib. The utils package of that version won't compile atm.
I have gentoo-2007.0
Got ebuild attached in case on know what to do with it.

Remy

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-3.20.ebuild,v 1.2 2007/10/06 00:41:02 betelgeuse Exp $

inherit autotools eutils

DESCRIPTION="Bluetooth Tools and System Daemons for Linux" HOMEPAGE="http://bluez.sourceforge.net/" SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sh ~sparc ~x86"

IUSE="alsa cups debug examples gstreamer hal old-daemons test-programs usb"

DEPEND="

	>=net-wireless/bluez-libs-${PV}
	alsa? ( media-libs/alsa-lib )
	gstreamer? (
		>=media-libs/gstreamer-0.10
		>=media-libs/gst-plugins-base-0.10 )
	hal? ( sys-apps/hal )
	usb? ( dev-libs/libusb )
	cups? ( net-print/cups )
	sys-fs/udev
	dev-libs/glib
	sys-apps/dbus"
src_unpack() {
	unpack ${A}
	# bundled glib
	cd "${S}"
	rm -r eglib/{*.c,*.h}  || die
	if use cups; then
		epatch "${FILESDIR}/3.11/cups-location.patch"
		eautoreconf
	fi
}
src_compile() {
	# the order is the same as ./configure --help

	# we don't need the other daemons either with the new
	# service architechture
	# hcid has in integrated sdpd now that we use

	# These are currently under work and don't work properly:
	# --enable-sync
	# --enable-obex

	econf \
		$(use_enable debug) \
		--enable-inotify \
		$(use_enable hal) \
		$(use_enable usb) \
		$(use_enable alsa) \
		--enable-glib  \
		$(use_enable gstreamer) \
		--disable-obex \
		--enable-network \
		--enable-serial \
		--enable-input \
		--enable-audio \
		--disable-sync \
		$(use_enable examples echo) \
		--enable-hcid \
		$(use_enable test-programs test) \
		$(use_enable old-daemons sdpd) \
		$(use_enable old-daemons hidd) \
		$(use_enable old-daemons pand) \
		$(use_enable cups) \
		--enable-configfiles \
		--disable-initscripts \
		--disable-pcmciarules \
		--enable-bccmd \
		--enable-avctrl \
		--enable-hid2hci \
		--enable-dfutool \
		--localstatedir=/var \
		|| die "econf failed"

	emake || die "emake failed"
}
src_install() {
	make DESTDIR="${D}" install || die "make install failed"

	dodoc AUTHORS ChangeLog README || die

	# a very simple example daemon
	dobin daemon/passkey-agent || die

	newinitd "${FILESDIR}/3.11/bluetooth-init.d" bluetooth || die
	newconfd "${FILESDIR}/3.11/bluetooth-conf.d" bluetooth || die

	if use old-daemons; then
		sed -re 's/^(Autostart=)true/\1false/' \
			-i "${D}/etc/bluetooth/input.service" || die
		newconfd "${FILESDIR}/3.11/conf.d-hidd" hidd || die
		newinitd "${FILESDIR}/3.11/init.d-hidd" hidd || die
	fi

	# bug #84431
	insinto /etc/udev/rules.d/
	newins "${FILESDIR}/${PN}-3.10.1-udev.rules" 70-bluetooth.rules || die
	newins "${S}/scripts/bluetooth.rules" 70-bluetooth-pcmcia.rules || die

	exeinto /lib/udev/
	newexe "${FILESDIR}/${PN}-3.10.1-udev.script" bluetooth.sh || die
	doexe  "${S}/scripts/bluetooth_serial" || die
}

pkg_postinst() {
udevcontrol reload_rules && udevtrigger

elog
elog "To use dial up networking you must install net-dialup/ppp." elog ""
elog "Since 3.0 bluez has changed the passkey handling to use a dbus based" elog "API so please remember to update your /etc/bluetooth/hcid.conf." elog "For a password agent, there is for example net-wireless/bluez-gnome" elog "for gnome and net-wireless/kdebluetooth for kde."
elog ""
elog "Since 3.10.1 we don't install the old style daemons any more but rely" elog "on the new service architechture:"
elog " http://wiki.bluez.org/wiki/Services"
elog ""
elog "3.15 adds support for the audio service. See"
elog "http://wiki.bluez.org/wiki/HOWTO/AudioDevices for configuration help." elog ""
elog "Edit /etc/bluetooth/*.service to enable the services."
elog "Use the old-daemons use flag to get the old daemons like hidd" elog "installed. Please note that the init script doesn't stop the old" elog "daemons after you update it so it's recommended to run:"
elog " /etc/init.d/bluetooth stop"
elog "before updating your configuration files or you can manually kill" elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth." elog ""
elog "If you want to use rfcomm as a normal user, you need to add the user" elog "to the uucp group."
elog ""
if use old-daemons; then
elog "The hidd init script was installed because you have the old-daemons" elog "use flag on. It is not started by default via udev so please add it" elog "to the required runleves using rc-update <runlevel> add hidd. If" elog "you need init scripts for the other daemons, please file requests" elog "to https://bugs.gentoo.org."
else
elog "The bluetooth service should be started automatically by udev" elog "when the required hardware is inserted next time."
fi
}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#3 lore raw

For some reason "rtp.h" can't be found (included in audio/pcm_bluetooth.c). This blocks my attempt to build it on gentoo without the use of eglib.
The build goes as follows. In the source directory:

The rm -r eglib/{*.c,*.h} # make sure eglib is ignored
autoreconf -fis # Reconfigure
./configure --enable-inotify --enable-hal --enable-usb --enable-alsa --enable-glib --disable-obex --enable-network --enable-serial --enable-input --enable-audio --enable-sync --enable-hcid --enable-configfiles --disable-initscripts --disable-pcmciarules --enable-bccmd --enable-avctrl --enable-hid2hci --enable-dfutool --localstatedir=/var
make # And then make

This creates the error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/alsa -I../sbc
-Wall -O2 -D_FORTIFY_SOURCE=2 -MT libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c pcm_bluetooth.c -fPIC -DPIC -o .libs/libasound_module_pcm_bluetooth_la-pcm_bluetooth.o pcm_bluetooth.c:41:17: error: rtp.h: No such file or directory pcm_bluetooth.c: In function 'avdtp_write':
pcm_bluetooth.c:601: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: warning: left-hand operand of comma expression has no effect
pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:605: error: dereferencing pointer to incomplete type pcm_bluetooth.c:606: error: dereferencing pointer to incomplete type pcm_bluetooth.c:607: error: dereferencing pointer to incomplete type pcm_bluetooth.c:608: error: dereferencing pointer to incomplete type pcm_bluetooth.c:609: error: dereferencing pointer to incomplete type pcm_bluetooth.c:610: error: dereferencing pointer to incomplete type pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
pcm_bluetooth.c: In function 'bluetooth_a2dp_init':
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
make[2]: *** [libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo] Error 1 make[2]: Leaving directory `/root/bluez-utils-3.21/audio' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bluez-utils-3.21'
make: *** [all] Error 2

Any idea how to fix it?

Thanks!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

Remy

Is this last attempt using v3.22?

Brad

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#5 lore raw
Quoted 4 lines · Brad Midgley

Remy

Is this last attempt using v3.22?

Just tested and the package builds. The gaps on the other hand are still there. I can't determine what causes the gaps. I just notice that for a few seconds the sound is gone though the clock keeps ticking. So, for some time the sound appears to go to /dev/null.
The patch for 2.6.23 kernel does not help either. It got even worse, but I'll stick to the current setup which is 2.6.22.
As mentioned before, I have a USB based BCM2035.
The receiver

- Bluetooth class 1: max. range: 100 m
- Bluetooth standard V1.2 (supports stereo profile A2DP)

Any thoughts?
Thanks!

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Remy

Did you already check the link mode & policy? If you have "master" in hcid.conf's lm setting and you take "rswitch" and "sniff" out of the lp setting, you are forcing the pc to be master and to hopefully behave better. (be sure to restart hcid)

Brad

Quoted 24 lines · Remy Bosch
Quoted 4 lines · Brad Midgley

Remy

Is this last attempt using v3.22?

Just tested and the package builds. The gaps on the other hand are still there. I can't determine what causes the gaps. I just notice that for a few seconds the sound is gone though the clock keeps ticking. So, for some time the sound appears to go to /dev/null.
The patch for 2.6.23 kernel does not help either. It got even worse, but I'll stick to the current setup which is 2.6.22.
As mentioned before, I have a USB based BCM2035.
The receiver

- Bluetooth class 1: max. range: 100 m
- Bluetooth standard V1.2 (supports stereo profile A2DP)

Any thoughts?
Thanks!

Remy

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#7 lore raw
Quoted 7 lines · Brad Midgley

Remy

Did you already check the link mode & policy? If you have "master" in hcid.conf's lm setting and you take "rswitch" and "sniff" out of the lp setting, you are forcing the pc to be master and to hopefully behave better. (be sure to restart hcid)

Thanks Brad!

It helped for the largest part, though there are still some gaps. I made sure the pairing is done once.
My config is as follows:

options {
        autoinit yes;
        security user;
        pairing once;
        passkey "Y0ur3n0tw3lc0m3";
}
device {
        name "BlueZ (%d)";
        class 0x000100;
        iscan enable; pscan enable;
        lm master;
        lp hold;
}

Any points to improve?

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw

Remy

any remaining gaps are likely subtle timing issues in the code.

Brad

Quoted 35 lines · Remy Bosch
Quoted 7 lines · Brad Midgley

Remy

Did you already check the link mode & policy? If you have "master" in hcid.conf's lm setting and you take "rswitch" and "sniff" out of the lp setting, you are forcing the pc to be master and to hopefully behave better. (be sure to restart hcid)

Thanks Brad!

It helped for the largest part, though there are still some gaps. I made sure the pairing is done once.
My config is as follows:

options {
        autoinit yes;
        security user;
        pairing once;
        passkey "Y0ur3n0tw3lc0m3";
}
device {
        name "BlueZ (%d)";
        class 0x000100;
        iscan enable; pscan enable;
        lm master;
        lp hold;
}

Any points to improve?

Remy

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#9 lore raw
Quoted 4 lines · Brad Midgley

Remy

any remaining gaps are likely subtle timing issues in the code.

I take it that this is mostly work in progress?
Besides, I recently ran windows, and it too had some gaps. Smaller and fewer gaps, but still present.

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#10 lore raw
In reply to Remy Bosch

Hi Remy
I am also facing the same compilation problem. I saw in the mailing list you were able to resolve it. How did you do it?

Thanks,
Sumeet
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Remy Bosch
Sent: Friday, October 26, 2007 9:50 PM
To: BlueZ users
Subject: Re: [Bluez-users] Audio gaps with bcm2035 and Hama receiver

For some reason "rtp.h" can't be found (included in audio/pcm_bluetooth.c). This blocks my attempt to build it on gentoo without the use of eglib. The build goes as follows. In the source directory:

The rm -r eglib/{*.c,*.h} # make sure eglib is ignored
autoreconf -fis # Reconfigure
./configure --enable-inotify --enable-hal --enable-usb --enable-alsa --enable-glib --disable-obex --enable-network --enable-serial --enable-input --enable-audio --enable-sync --enable-hcid --enable-configfiles --disable-initscripts --disable-pcmciarules --enable-bccmd --enable-avctrl --enable-hid2hci --enable-dfutool --localstatedir=/var
make # And then make

This creates the error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/alsa -I../sbc -Wall
-O2 -D_FORTIFY_SOURCE=2 -MT libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c pcm_bluetooth.c -fPIC -DPIC -o .libs/libasound_module_pcm_bluetooth_la-pcm_bluetooth.o pcm_bluetooth.c:41:17: error: rtp.h: No such file or directory pcm_bluetooth.c: In function 'avdtp_write':
pcm_bluetooth.c:601: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: warning: left-hand operand of comma expression has no effect
pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:605: error: dereferencing pointer to incomplete type pcm_bluetooth.c:606: error: dereferencing pointer to incomplete type pcm_bluetooth.c:607: error: dereferencing pointer to incomplete type pcm_bluetooth.c:608: error: dereferencing pointer to incomplete type pcm_bluetooth.c:609: error: dereferencing pointer to incomplete type pcm_bluetooth.c:610: error: dereferencing pointer to incomplete type pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
pcm_bluetooth.c: In function 'bluetooth_a2dp_init':
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
make[2]: *** [libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo] Error 1 make[2]: Leaving directory `/root/bluez-utils-3.21/audio' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bluez-utils-3.21'
make: *** [all] Error 2

Any idea how to fix it?

Thanks!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#11 lore raw
Quoted 70 lines · Sumeet VERMA

Hi Remy
I am also facing the same compilation problem. I saw in the mailing list you were able to resolve it. How did you do it?

Thanks,
Sumeet
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Remy Bosch
Sent: Friday, October 26, 2007 9:50 PM
To: BlueZ users
Subject: Re: [Bluez-users] Audio gaps with bcm2035 and Hama receiver

For some reason "rtp.h" can't be found (included in audio/pcm_bluetooth.c). This blocks my attempt to build it on gentoo without the use of eglib. The build goes as follows. In the source directory:

The rm -r eglib/{*.c,*.h} # make sure eglib is ignored
autoreconf -fis # Reconfigure
./configure --enable-inotify --enable-hal --enable-usb --enable-alsa --enable-glib --disable-obex --enable-network --enable-serial --enable-input --enable-audio --enable-sync --enable-hcid --enable-configfiles --disable-initscripts --disable-pcmciarules --enable-bccmd --enable-avctrl --enable-hid2hci --enable-dfutool --localstatedir=/var
make # And then make

This creates the error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/alsa -I../sbc -Wall
-O2 -D_FORTIFY_SOURCE=2 -MT libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c pcm_bluetooth.c -fPIC -DPIC -o .libs/libasound_module_pcm_bluetooth_la-pcm_bluetooth.o pcm_bluetooth.c:41:17: error: rtp.h: No such file or directory pcm_bluetooth.c: In function 'avdtp_write':
pcm_bluetooth.c:601: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: warning: left-hand operand of comma expression has no effect
pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:605: error: dereferencing pointer to incomplete type pcm_bluetooth.c:606: error: dereferencing pointer to incomplete type pcm_bluetooth.c:607: error: dereferencing pointer to incomplete type pcm_bluetooth.c:608: error: dereferencing pointer to incomplete type pcm_bluetooth.c:609: error: dereferencing pointer to incomplete type pcm_bluetooth.c:610: error: dereferencing pointer to incomplete type pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
pcm_bluetooth.c: In function 'bluetooth_a2dp_init':
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
make[2]: *** [libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo] Error 1 make[2]: Leaving directory `/root/bluez-utils-3.21/audio' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bluez-utils-3.21'
make: *** [all] Error 2

Quoted 3 lines

Any idea how to fix it?

Update to 3.22

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#12 lore raw

Yeah I did that. Thanks :)

Sumeet
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Remy Bosch
Sent: Tuesday, October 30, 2007 3:53 PM
To: BlueZ users
Subject: Re: [Bluez-users] Audio gaps with bcm2035 and Hama receiver

Quoted 15 lines · Sumeet VERMA

Hi Remy
I am also facing the same compilation problem. I saw in the mailing list you were able to resolve it. How did you do it?

Thanks,
Sumeet
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Remy Bosch
Sent: Friday, October 26, 2007 9:50 PM
To: BlueZ users
Subject: Re: [Bluez-users] Audio gaps with bcm2035 and Hama receiver

Quoted 1 line

For some reason "rtp.h" can't be found (included in

audio/pcm_bluetooth.c).

Quoted 10 lines

This blocks my attempt to build it on gentoo without the use of eglib. The build goes as follows. In the source directory:

The rm -r eglib/{*.c,*.h} # make sure eglib is ignored
autoreconf -fis # Reconfigure
./configure --enable-inotify --enable-hal --enable-usb --enable-alsa --enable-glib --disable-obex --enable-network --enable-serial --enable-input --enable-audio --enable-sync --enable-hcid --enable-configfiles --disable-initscripts --disable-pcmciarules --enable-bccmd --enable-avctrl --enable-hid2hci --enable-dfutool

--localstatedir=/var

Quoted 48 lines

make # And then make

This creates the error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/alsa -I../sbc

(quoted diff) +0 -2
-Wall
-O2 -D_FORTIFY_SOURCE=2 -MT

libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c pcm_bluetooth.c -fPIC -DPIC -o .libs/libasound_module_pcm_bluetooth_la-pcm_bluetooth.o pcm_bluetooth.c:41:17: error: rtp.h: No such file or directory pcm_bluetooth.c: In function 'avdtp_write':
pcm_bluetooth.c:601: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: warning: left-hand operand of comma expression has no effect
pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:603: error: dereferencing pointer to incomplete type pcm_bluetooth.c:605: error: dereferencing pointer to incomplete type pcm_bluetooth.c:606: error: dereferencing pointer to incomplete type pcm_bluetooth.c:607: error: dereferencing pointer to incomplete type pcm_bluetooth.c:608: error: dereferencing pointer to incomplete type pcm_bluetooth.c:609: error: dereferencing pointer to incomplete type pcm_bluetooth.c:610: error: dereferencing pointer to incomplete type pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:617: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
pcm_bluetooth.c: In function 'bluetooth_a2dp_init':
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_header'
pcm_bluetooth.c:968: error: invalid application of 'sizeof' to incomplete type 'struct rtp_payload'
make[2]: *** [libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo] Error 1
make[2]: Leaving directory `/root/bluez-utils-3.21/audio' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bluez-utils-3.21'
make: *** [all] Error 2

Quoted 3 lines

Any idea how to fix it?

Update to 3.22

Remy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users