* [Bluez-devel] btsco: help with autoconf cleanup @ 2004-11-11 18:49 Brad Midgley 2004-11-11 18:56 ` Marcel Holtmann 2004-11-15 17:31 ` David Woodhouse 0 siblings, 2 replies; 9+ messages in thread From: Brad Midgley @ 2004-11-11 18:49 UTC (permalink / raw) To: bluez-devel 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 18:49 [Bluez-devel] btsco: help with autoconf cleanup Brad Midgley @ 2004-11-11 18:56 ` Marcel Holtmann 2004-11-11 21:04 ` Brad Midgley 2004-11-15 17:31 ` David Woodhouse 1 sibling, 1 reply; 9+ messages in thread From: Marcel Holtmann @ 2004-11-11 18:56 UTC (permalink / raw) To: BlueZ Mailing List 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 18:56 ` Marcel Holtmann @ 2004-11-11 21:04 ` Brad Midgley 2004-11-11 21:16 ` Marcel Holtmann 0 siblings, 1 reply; 9+ messages in thread From: Brad Midgley @ 2004-11-11 21:04 UTC (permalink / raw) To: bluez-devel 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 21:04 ` Brad Midgley @ 2004-11-11 21:16 ` Marcel Holtmann 2004-11-11 23:14 ` Brad Midgley 0 siblings, 1 reply; 9+ messages in thread From: Marcel Holtmann @ 2004-11-11 21:16 UTC (permalink / raw) To: BlueZ Mailing List 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 21:16 ` Marcel Holtmann @ 2004-11-11 23:14 ` Brad Midgley 2004-11-12 1:02 ` Marcel Holtmann 0 siblings, 1 reply; 9+ messages in thread From: Brad Midgley @ 2004-11-11 23:14 UTC (permalink / raw) To: bluez-devel 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 23:14 ` Brad Midgley @ 2004-11-12 1:02 ` Marcel Holtmann 0 siblings, 0 replies; 9+ messages in thread From: Marcel Holtmann @ 2004-11-12 1:02 UTC (permalink / raw) To: BlueZ Mailing List 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 Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-11 18:49 [Bluez-devel] btsco: help with autoconf cleanup Brad Midgley 2004-11-11 18:56 ` Marcel Holtmann @ 2004-11-15 17:31 ` David Woodhouse 2004-11-15 21:29 ` Brad Midgley 1 sibling, 1 reply; 9+ messages in thread From: David Woodhouse @ 2004-11-15 17:31 UTC (permalink / raw) To: bluez-devel 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. www.intersystems.com/match8 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-15 17:31 ` David Woodhouse @ 2004-11-15 21:29 ` Brad Midgley 2004-11-16 6:39 ` Simon Vogl 0 siblings, 1 reply; 9+ messages in thread From: Brad Midgley @ 2004-11-15 21:29 UTC (permalink / raw) To: bluez-devel 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. www.intersystems.com/match8 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] btsco: help with autoconf cleanup 2004-11-15 21:29 ` Brad Midgley @ 2004-11-16 6:39 ` Simon Vogl 0 siblings, 0 replies; 9+ messages in thread From: Simon Vogl @ 2004-11-16 6:39 UTC (permalink / raw) To: bluez-devel 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. www.intersystems.com/match8 > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > 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: vogl@soft.uni-linz.ac.at, 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. www.intersystems.com/match8 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-11-16 6:39 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-11-11 18:49 [Bluez-devel] btsco: help with autoconf cleanup Brad Midgley 2004-11-11 18:56 ` Marcel Holtmann 2004-11-11 21:04 ` Brad Midgley 2004-11-11 21:16 ` Marcel Holtmann 2004-11-11 23:14 ` Brad Midgley 2004-11-12 1:02 ` Marcel Holtmann 2004-11-15 17:31 ` David Woodhouse 2004-11-15 21:29 ` Brad Midgley 2004-11-16 6:39 ` Simon Vogl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox