SALSA-Lib version 0.0.1 release
Hi all,
I created a small replacement of ALSA-library, mainly for embedded systems with limited resources. The library is named as "SALSA-Lib" (too easy, eh?)
It has no plugin layer but only hw layer, thus no sexy features like dmix and format conversions are available. It supports no shiny and complex configuration files. And it supports no sequencer. The only goal of this library is the reduction of the size of library and running binaries by inlining functions with direct syscalls.
The library is designed to be source-level API compatible with the normal alsa-lib 1.0.14. Note that it is _not_ designed to be binary-compatible at all, and it will be never so.
The first released version 0.0.1 is available at:
ftp://ftp.suse.com/pub/people/tiwai/salsa-lib/salsa-lib-0.0.1.tar.bz2
The package is released under LGPL as well as the original alsa-lib.
I've tested it only on i386, and tests on other architectures would be greatly appreciated.
(And, no, I didn't make it on HG tree yet.)
Takashi
Quoted 3 lines · Takashi Iwai
I created a small replacement of ALSA-library, mainly for embedded systems with limited resources. The library is named as "SALSA-Lib" (too easy, eh?)
No. Too cute perhaps, but I like it anyway...
Thank you for this. Other than embedded use it's also going to be useful as educational material for someone who wants to understands the basics of the kernel/user interface.
Rene.
Quoted 5 lines · Takashi Iwai
Hi all,
I created a small replacement of ALSA-library, mainly for embedded systems with limited resources. The library is named as "SALSA-Lib" (too easy, eh?)
Maybe...have you seen:-
http://fgbrs.lip6.fr/salsa/Software/index.php
http://www.cs.cornell.edu/Courses/cs501/2000fa/project-folder/SALSA.html
and Mail-Salsa?
Good project though!
Alan
Quoted 6 lines · Takashi Iwai
Hi all,
I created a small replacement of ALSA-library, mainly for embedded systems with limited resources. The library is named as "SALSA-Lib" (too easy, eh?)
Just added it to OpenEmbedded so arm/ppc/mips etc guys can take a look.
It builds on arm BTW but I havent used it.
Graeme
Quoted 5 lines · On Mon, 04 Jun 2007 16:28:30 +0200 "Takashi Iwai" <[email protected]> wrote:
Hi all,
I created a small replacement of ALSA-library, mainly for embedded systems with limited resources. The library is named as "SALSA-Lib" (too easy, eh?)
dude, u rawk my world! :-) thankyou very much!!!
Quoted 5 lines
It has no plugin layer but only hw layer, thus no sexy features like dmix and format conversions are available. It supports no shiny and complex configuration files. And it supports no sequencer. The only goal of this library is the reduction of the size of library and running binaries by inlining functions with direct syscalls.
This has the possibility of being an absolutely marvelous thing.
Quoted 9 lines
The library is designed to be source-level API compatible with the normal alsa-lib 1.0.14. Note that it is _not_ designed to be binary-compatible at all, and it will be never so.
The first released version 0.0.1 is available at:
ftp://ftp.suse.com/pub/people/tiwai/salsa-lib/salsa-lib-0.0.1.tar.bz2The package is released under LGPL as well as the original alsa-lib.
I will try and put it to use after i get my current product issue resolved.
Quoted 12 lines
I've tested it only on i386, and tests on other architectures would be greatly appreciated.
(And, no, I didn't make it on HG tree yet.)
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): s5hk5tsiff6.wl%[email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Mon, 25 Jun 2007 23:32:39 +0100,
Quoted 8 lines · Adrian McMenamin
Quoted 7 lines
You can check ldd to the app which shlib it's linked with. It should be linked with libsalsa, not libasound.
Takashi
Quoted 8 lines
I expect I am being a bit thick here but what app? I use mpg123 and it's not linked with any alsa libs.
/ # ldd ./mpg123
libm.so.0 => /lib/libm.so.0 (0x2956d000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2958b000) libc.so.0 => /lib/libc.so.0 (0x295aa000) ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x29558000)
mpg123 is an OSS app.
Quoted 8 lines
/ # ldd aplay
libasound.so.2 => /usr/lib/libasound.so.2 (0x2956d000) libm.so.0 => /lib/libm.so.0 (0x29652000) libdl.so.0 => /lib/libdl.so.0 (0x29670000) libpthread.so.0 => /lib/libpthread.so.0 (0x29683000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x296a4000) libc.so.0 => /lib/libc.so.0 (0x296c3000) ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x29558000)
It's liekly linked with the old libasound.
SALSA-lib is a source-level compatible library and it's _not_ binary-level compatible. Thus, it's no drop-in replacement. After installing salsa-lib (better use --enable-everything option to make a libasound symlink), then you'll have to rebuild the other apps linked with alsa-lib again.
Takashi