Let me explain respectively.
OSS - libsndfile has not much to do with OSS. It mainly focused on
processing data from one format to others. It does not like to deal much
with hardware or operating systems. The only exception may be
sndfile-play. Sndfile-play is one of three tiny utilities it provides,
which only writes audio data directly to /dev/audio (on Solaris), which
is standard audio device on Solaris. On SunRay sndfile-play wont work
properly because SunRay client uses another audio device specified by
$AUDIODEV. However, it is not a main purpose of libsndfile.
Overlaps -
SoX is an all-in-one, command line based, audio converting tool.
It does not provide APIs to other program.
Libaudiofile is fairly out of date. The last update is released in
2004. Libsndfile is more active.
Audioplay/record/convert are legacy tools. Libsndfile could covert
most of their functions except recording, however, I would like to use
another new case to EOL these legacy tools, considering there may be
dependencies on those legacy tools. That needs more effort to
investigate other than this case.
On more reason that I wanted to integrate libsndfile is that the library
is widely used by many opensource softwares. With this library, we can
expect more audio processing tools in Solaris.
Thanks,
- Chris
Garrett D'Amore wrote:
> This case seems like it provides alternate functionality to audioplay
> & audioconvert (but unfortunately not audiorecord).
>
> It turns out that Boomer has, um, issues with some of the above legacy
> Sun utilities (including audiorecord) -- mostly because they straddle
> the bounds between "mixer" applications and "player" or "record"
> applications.
>
> It seems like we could potentially use this case to deprecate (but not
> yet remove) the legacy Sun utilities, marking them Obsolete. Ignoring
> (for the moment) audiorecord, are you aware of any functionality
> offered by audioplay or audioconvert that is *not* covered under these
> utilities?
>
> Also, I *presume* that these utilities can be compiled to support OSS
> APIs? Can you please verify that? When boomer integrates with *full*
> support for all audio devices (incl. Sun Ray), we might want to switch
> these to use the OSS APIs.
>
> There's also a big overlap with other projects (libaudiofile, SoX,
> etc.) While I don't particularly mind haivng a bunch of these open
> source apps, if they turn out to be better and more popular than our
> own offerings, then I'd just prefer that we move away from trying to
> provide our (inferior) alternatives.
>
> -- Garrett
>
> Mark Carlson wrote:
>> I am sponsoring this case for Chris Liu. It requests patch
>> binding and times out on 12/19/2008. This is being provided
>> for familiarity reasons and the case directory has a completed
>> FOSS checklist.
>>
>> -- mark
>>
>> Template Version: @(#)sac_nextcase %I% %G% SMI
>> This information is Copyright 2008 Sun Microsystems
>> 1. Introduction
>> 1.1. Project/Component Working Name:
>> libsndfile
>> 1.2. Name of Document Author/Supplier:
>> Author: Chris Liu
>> 1.3 Date of This Document:
>> 12 December, 2008
>>
>> 2. Project Summary
>> 2.1. Project Description
>> This project introduces libsndfile 1.0.17, a C library for
>> reading
>> and writing files containing sampled sound under LGPLv3 into the
>> SFW consolidation.
>> 4. Technical Description
>> 4.1. Details:
>> Libsndfile is able to read and write a large number of audio
>> file
>> formats such as WAV, AIFF and etc. It provides a set of API
>> and is
>> ported to Linux, Unix, Windows and MacOS on multiple
>> platforms such
>> as x86 and sparc. It can also convert audio format on the fly,
>> including endian-ness swapping, type conversion and bitwidth
>> scaling.
>> Applications can query the library about all supported
>> formats and
>> retrieve text strings describing each format. Libsndfile also
>> has
>> a comprehensive test suite and is quite mature.
>>
>> 4.5 Interfaces:
>>
>> Exported Interface | Stability |
>> Description
>>
>> --------------------------------------|--------------|-------------------
>>
>> SUNWlibsndfile | Uncommitted | package name
>> usr/lib/libsndfile.so.1.0.17 | Uncommitted | library
>> usr/lib/libsndfile.so | Uncommitted | symbol link
>> usr/lib/64/libsndfile.so.1.0.17 | Uncommitted | library
>> usr/lib/64/libsndfile.so | Uncommitted | symbol link
>> usr/lib/pkgconfig/sndfile.pc | Uncommitted | pkgconfig
>> file
>> usr/include/sndfile.h | Uncommitted | header file
>> usr/include/sndfile.hh | Uncommitted | header file
>> usr/bin/sndfile-info | Uncommitted | command
>> usr/bin/sndfile-play | Uncommitted | command
>> usr/bin/sndfile-convert | Uncommitted | command
>> usr/bin/sndfile-regtest | Uncommitted | command
>> usr/share/man/man1/sndfile-info.1 | Uncommitted | manpage of
>> command
>> usr/share/man/man1/sndfile-play.1 | Uncommitted | manpage of
>> command
>> usr/share/man/man1/sndfile-convert.1 | Uncommitted | manpage of
>> command
>>
>> Imported Interface | Stability |
>> Description
>>
>> --------------------------------------|--------------|-------------------
>>
>> FLAC 1.2.1 (within Gnome) | Uncommitted | LSARC
>> 2007/520
>> Ogg-Vorbis (within Gnome) | Uncommitted | LSARC
>> 2007/520
>>
>> Other documents:
>> usr/share/doc/libsndfile/html/libsndfile.jpg
>> usr/share/doc/libsndfile/html/libsndfile.css
>> usr/share/doc/libsndfile/html/api.html
>> usr/share/doc/libsndfile/html/command.html
>> usr/share/doc/libsndfile/html/bugs.html
>> usr/share/doc/libsndfile/html/sndfile_info.html
>> usr/share/doc/libsndfile/html/new_file_type.HOWTO
>> usr/share/doc/libsndfile/html/pkgconfig.html
>> usr/share/doc/libsndfile/html/win32.html
>> usr/share/doc/libsndfile/html/FAQ.html
>> usr/share/doc/libsndfile/html/lists.html
>> usr/share/doc/libsndfile/html/embedded_files.html
>> usr/share/doc/libsndfile/html/octave.html
>> usr/share/doc/libsndfile/html/dither.html
>> usr/share/octave/site/m/sndfile_load.m
>> usr/share/octave/site/m/sndfile_save.m
>> usr/share/octave/site/m/sndfile_play.m
>>
>> 5. References
>> http://www.mega-nerd.com/libsndfile/
>> 6. Resources and Schedule
>> 6.4. Steering Committee requested information
>> 6.4.1. Consolidation C-team Name:
>> SFW
>> 6.5. ARC review type: FastTrack
>> 6.6. ARC Exposure: open
>>
>>
>