janstary / sox

resurrect SoX
Other
2 stars 1 forks source link

build and install libsox? #43

Open janstary opened 1 month ago

janstary commented 1 month ago

It seems that the only user of libsox is SoX itself. Software mostly uses the 'sox' binary, but nothing uses the library. Check various OS ports: ask at their ports@ mailing lists explicitly.

Not to be confused with libsoxr, a separate resampling library.

janstary commented 3 weeks ago

Ah, http://cvsweb.openbsd.org/ports/multimedia/imagination/ uses libsox (to do a five-second fadeout)

janstary commented 3 weeks ago

Also, http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/multimedia/mlt7/

janstary commented 3 weeks ago

On OpenBSD, install sqlports and

sqlite3 /usr/local/share/sqlports
select * from wantlib where value like 'sox%';
janstary commented 2 weeks ago

The file libsox_i.c seems to be completely unused.

janstary commented 2 weeks ago

sox.h says:

Contains the interface exposed to clients of the libSoX library.
Symbols starting with "sox_" or "SOX_" are part of the public interface for
libSoX clients (applications that consume libSoX). Symbols starting with
"lsx_" or "LSX_" are internal use by libSoX and plugins.
LSX_ and lsx_ symbols should not be used by libSoX-based applications.

Now look at all the lsx_ symbols in libsox_sym. That's 43 exposed interfaced that "should not be used".

janstary commented 2 weeks ago

What is this supposed to do? sed 's,^,_,' < ./libsox.sym > .libs/libsox-symbols.expsym

janstary commented 1 week ago

Building and installing with a brand new manpage at https://github.com/janstary/sox/tree/libsox