Re: [LAD] A question about audio file interfaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Devin Anderson <surfacepatterns@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Sunday, December 1, 2013 - 11:48 am

On Sat, Nov 30, 2013 at 04:32:45PM -0800, Devin Anderson wrote:

> The questions you're asking hint at something that could be very

Thanks to all who responded.

No, it's just about the code to read/write the files - what
it should do or not do in order to make it perform well with
'smart' disk access threads which will have there own ways to
organise buffering. If two (or more) such schemes are used on
top of each other the result could be worse than with just
one of them.

The file format in this case is just a simple subset of CAF,
only linear PCM, but with multiple UUID chunks. The first
layer should just support reading/writing/modifying any raw
chunk data, the second will handle some specific chunks types.
None of this needs optimal performance, but reading or writing
the audio data does, so that's what my question is about.

More in particular:

* use mmap, read/write or stdio ?
* any point in implementing things like gather/scatter, or
async access ?
* for multichannel: offer de-interleaved access, sparse
channel sets, etc. ?

I have various use cases for such a library, one of them being
to replace the private .ald format used by Aliki and some other
apps. But the code should also work efficiently with e.g. a DAW
having maybe a hundred files open at any time, and multiple
streams from the same file.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] A question about audio file interfaces, Fons Adriaensen, (Sat Nov 30, 10:57 pm)
Re: [LAD] A question about audio file interfaces, Fred Gleason, (Sun Dec 1, 3:42 am)
Re: [LAD] A question about audio file interfaces, Erik de Castro Lopo, (Sun Dec 1, 1:43 am)
Re: [LAD] A question about audio file interfaces, Devin Anderson, (Sun Dec 1, 12:32 am)
Re: [LAD] A question about audio file interfaces, Fons Adriaensen, (Sun Dec 1, 11:48 am)
Re: [LAD] A question about audio file interfaces, Paul Davis, (Sun Dec 1, 2:08 pm)
Re: [LAD] A question about audio file interfaces, Fons Adriaensen, (Sun Dec 1, 4:49 pm)
Re: [LAD] A question about audio file interfaces, Paul Davis, (Sun Dec 1, 4:58 pm)
Re: [LAD] A question about audio file interfaces, Fons Adriaensen, (Sun Dec 1, 6:43 pm)
Re: [LAD] A question about audio file interfaces, Paul Davis, (Sat Nov 30, 11:07 pm)