Re: [linux-audio-dev] Re: Nicola Bernardini's sound file library comments

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: Nicola Bernardini's sound file library comments
From: rob (rob_AT_kaybee.org)
Date: ke elo    18 1999 - 11:37:08 EDT


On Wed, 18 Aug 1999, Erik de Castro Lopo wrote:

> One of the things I have on my TODO list is to make libsndfile work
> so it can read and write pipes. Unfortunately, once one has started
> writing a large amount of data to a pipe it is not possible to fseek ()
> back to the beginning of the file and correct the header like one can
> with regular files. I see no way around this problem.

        use a temp file ? <eww, but hey>

> > 3) Some functions in audio editors are easy to implement in "direct
> > mode" if the file is accessible in read/write mode.
> > 3bis) It is possible to append data to a file with your API?
>
        what about letting it play virtual files so to speak. create
arbitrary regions in multiple (or the same) files and a play list
assembled from the region id's. you can simulate direct access, huge-file
handling, speedy deletes (delete first 2megs of a 100 meg file, etc), and
large undo buffers with this. all operations would be done upon a flush
or close.
                                rob
                                
-----
Rob Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: rob_AT_kaybee.org, gt4255a_AT_prism.gatech.edu


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:25:52 EST