[vorbis-dev] wav output to stdout status?

volsung at asu.edu volsung at asu.edu
Fri May 4 14:01:35 PDT 2001



On Fri, 4 May 2001 ben at slumber.dhs.org wrote:

> On Fri, May 04, 2001 at 01:37:17PM -0700, volsung at asu.edu wrote:
> > On Fri, 4 May 2001, Peter Surda wrote:
> > 
> > > Hi!
> > > 
> > > The version of ogg123 (or perhaps libao I think) says that the wav output
> > > can't go to STDOUT. Is this feature supported already in the current CVS?
> > 
> > The wav driver in libao (in CVS) does not support writing to STDOUT and will
> > probably never support that.  WAV files cannot be written correctly by libao
> > unless it can seek back to the beginning of the file and write the file
> > length, which is not possible with stdout.  The correct solution is use a
> 
> Isn't it possible to determine the length in samples of a vorbis stream
> if it's in a file on disk?

The API for libao assumes a streaming source, so there is no way to tell the
library how long the audio is going to be.  That causes a problem here, but it
makes the interface simpler overall.


---
Stan Seibert

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list