[libavg-devel] Audio patch

Nick Hebner hebnern at gmail.com
Mon Mar 31 21:20:20 CEST 2008


On Mon, Mar 31, 2008 at 3:37 AM, Ulrich von Zadow <uzadow at libavg.de> wrote:

> Ulrich von Zadow wrote:
>
> > A colleague at Archimedes (where I work) is making some very simple
> > audio test files now:
> > - 440 Hz sine waves in 48, 44.1 and 22.05 KHz in mono
> > - Stereo versions with one side at 441 Hz (so you can hear cancellations
> > if they're played back in mono :-) )
> > - 0.1 and 2 seconds in length so we have quick automatic test files and
> > longer ones for listening.
>
> I've checked in the test files (in src/video/testfiles) and added an
> audioTest() function to testvideo.cpp that decodes these files.
>

Cool!

>
> While doing this, I made some minor changes so FFMpegDecoder works with
> pure audio files. Async audio file decoding is still broken - the
> decoder never sends an eof. The corresponding tests aren't active yet.
>

I just committed a separation of audio and video EOF conditions to fix this.
AudioDecoderThread now sends an EOF when the audio stream ends.
IVideoDecoder::isEOF now takes a StreamSelect parameter, defaulted to
SS_ALL, so that individual stream EOFs or all stream EOFs may be checked. I
enabled the async tests, and they seem to work just fine now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.datenhain.de/pipermail/libavg-devel/attachments/20080331/53a6f235/attachment.htm 


More information about the libavg-devel mailing list