On Wed, Mar 24, 2004 at 02:39:28 +0100, Richard Spindler wrote:
Am Mittwoch 24 März 2004 13:38 schrieb Steve Harris:
Have .so files (similar to LADSPA plugins, but
different API) that contain
functions that can be called to inspect audio files on disk to determine
if they understand them or not. If they do a second function is called to
stream the audio from the file (in a single standard format, eg. IEEE
float or double).
Maybe a library to use xmms-input-plugins from any application would be a
possible aolution?
We could do that, but the XMMS plugin API is not very friendly to hosts,
which pretty much deafats the point.
XMMS plugins tend to output stereo interleaved data, in one of a variety of
(mostly integer) sample formats (chosen by the plugin), which is not
helpful to studio audio applications, which generally want uninterleaved
floats.
Theres nothing critically wrong with the current "everyone links to a
dozen file handling libraries" situation, its just a bit anoying as a user
that such-and-such an app can't load oggs, and such-and-such can't load
FLACs, and as a deveoper because you have to write seperate code to
interface to all the libraries, when you often just want to open, read x n,
close on some float data.
- Steve