2004-11-11 18:49:55

by Brad Midgley

[permalink] [raw]
Subject: [Bluez-devel] btsco: help with autoconf cleanup

Hi

Can someone tell me which of these files shouldn't be in our btsco cvs
module?

acinclude.m4
aclocal.m4
config.status
configure
configure.in
Makefile
Makefile.am
Makefile.in
missing
mkinstalldirs

I know some projects even make you generate "configure" but I'm not sure
I want to go that far.

btw, I added a sort of placeholder "a2play.c" to the project for sending
preencoded audio to an a2dp player. I want to make sure our autoconf
mess is cleaned up before putting it in the build.

Brad


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel


2004-11-16 06:39:53

by Simon Vogl

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

you might want to look at
http://www.soft.uni-linz.ac.at/_wiki/tiki-index.php?page=3DProjectBluezHa=
ndsfree
that should do what you are looking for...
simon

Brad Midgley wrote:

> David
>
>> Does btsco work only with headsets or should it also work with mobile
>> phones?
>
>
> no, btsco doesn't but bluez could. I've added this answer and a link=20
> to our page at http://bluetooth-alsa.sourceforge.net/
>
> brad
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. http://www.intersystems.com/match8
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez=
-devel=20
>



--=20
_______________________________________________________________________
Dr. Simon Vogl
Institut f=FCr Pervasive Computing, Johannes Kepler Universit=E4t Linz =20
Altenberger Stra=DFe 69, A-4040 Linz, Austria =20
=20
Tel: +43 732 2468-8517, Fax: +43 732 2468-8426 =20
mailto: [email protected], http://www.soft.uni-linz.ac.at/








-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. http://www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-15 21:29:07

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

David

> Does btsco work only with headsets or should it also work with mobile
> phones?

no, btsco doesn't but bluez could. I've added this answer and a link to
our page at http://bluetooth-alsa.sourceforge.net/

brad


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. http://www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-15 17:31:50

by David Woodhouse

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

On Thu, 2004-11-11 at 11:49 -0700, Brad Midgley wrote:
> Hi
>
> Can someone tell me which of these files shouldn't be in our btsco cvs
> module?
>
> acinclude.m4
> aclocal.m4
> config.status
> configure
> configure.in
> Makefile
> Makefile.am
> Makefile.in
> missing
> mkinstalldirs
>
> I know some projects even make you generate "configure" but I'm not sure
> I want to go that far.

Since you ask for opinions... all but 'Makefile' should be printed out
and ritually burned. Just write a proper Makefile. :)

Does btsco work only with headsets or should it also work with mobile
phones?

--
dwmw2



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. http://www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-12 01:02:24

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

Hi Brad,

> >>what do you suggest for packing bits together in a portable way before
> >>putting them on the wire? is there some code somewhere that you can
> >>point to that works in userspace?
> >
> > actually I don't understand this question. Please explain to me what do
> > you wanna know.
>
> Yeah, I guess I just needed to read up more.
>
> I'm going to be assembling parts of frames like the media packet header.
> I started looking at l2cap_build_cmd to see how you do it in kernel
> space. I see htobs() is the equivalent of __cpu_to_le16 for 16-bit
> values and I see the __attribute__ ((packed)) directives that result in
> a packed struct that can be copied byte for byte into the buffer. I
> think I'm good to go.
>
> I'll probably be running the naming for some of the structures and
> members by you to see if they're ok to eventually go into the bluetooth
> headers.

please don't think about any kernel part at this time. It is not the
time to do any kernel work. The l2cap_build_cmd() is by the way the
wrong place to look at, because AVDTP is L2CAP payload.

If we get a program that can play pre-encoded SBC files on an A2DP
headphone then this is a good start. This program should be in userspace
first so we can learn through it. Remember that RFCOMM and HID were
implemented both in userspace first, before we did the kernel version.

After this is working, we need a subband codec implementation for the
ALSA library and then we should really start doing the kernel version of
the AVDTP. I don't wanna scare you, but it must look like the RFCOMM
one. It needs to do its own L2CAP connection setup.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-11 23:14:32

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

Marcel

>>what do you suggest for packing bits together in a portable way before
>>putting them on the wire? is there some code somewhere that you can
>>point to that works in userspace?
>
>
> actually I don't understand this question. Please explain to me what do
> you wanna know.

Yeah, I guess I just needed to read up more.

I'm going to be assembling parts of frames like the media packet header.
I started looking at l2cap_build_cmd to see how you do it in kernel
space. I see htobs() is the equivalent of __cpu_to_le16 for 16-bit
values and I see the __attribute__ ((packed)) directives that result in
a packed struct that can be copied byte for byte into the buffer. I
think I'm good to go.

I'll probably be running the naming for some of the structures and
members by you to see if they're ok to eventually go into the bluetooth
headers.

Brad


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-11 21:16:14

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

Hi Brad,

> >>btw, I added a sort of placeholder "a2play.c" to the project for sending
> >>preencoded audio to an a2dp player. I want to make sure our autoconf
> >>mess is cleaned up before putting it in the build.
> >
> > This is great. Does it work for you already. Do you hear any sound?
>
> no, it's pretty early yet.
>
> what do you suggest for packing bits together in a portable way before
> putting them on the wire? is there some code somewhere that you can
> point to that works in userspace?

actually I don't understand this question. Please explain to me what do
you wanna know.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-11 21:04:53

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

Marcel,

> look at the BlueZ libs and utils CVS repository.
...
> This keeps your CVS repository clean.

ok, thanks.

>>btw, I added a sort of placeholder "a2play.c" to the project for sending
>>preencoded audio to an a2dp player. I want to make sure our autoconf
>>mess is cleaned up before putting it in the build.
>
>
> This is great. Does it work for you already. Do you hear any sound?

no, it's pretty early yet.

what do you suggest for packing bits together in a portable way before
putting them on the wire? is there some code somewhere that you can
point to that works in userspace?

brad


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

2004-11-11 18:56:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco: help with autoconf cleanup

Hi Brad,

> Can someone tell me which of these files shouldn't be in our btsco cvs
> module?
>
> acinclude.m4
> aclocal.m4
> config.status
> configure
> configure.in
> Makefile
> Makefile.am
> Makefile.in
> missing
> mkinstalldirs
>
> I know some projects even make you generate "configure" but I'm not sure
> I want to go that far.

look at the BlueZ libs and utils CVS repository. I spent quite some time
to clean up this autoconf/automake mess. Basically what I do is:

./bootstrap
./configure
make
==> modify files, compile again, test etc.
make maintainer-clean

This keeps your CVS repository clean.

> btw, I added a sort of placeholder "a2play.c" to the project for sending
> preencoded audio to an a2dp player. I want to make sure our autoconf
> mess is cleaned up before putting it in the build.

This is great. Does it work for you already. Do you hear any sound?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel