<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nick Hebner</b> &lt;<a href="mailto:hebnern@gmail.com">hebnern@gmail.com</a>&gt;<br>Date: Jan 30, 2008 12:40 PM<br>
Subject: Re: [libavg-devel] Audio Support Patch<br>To: Ulrich von Zadow &lt;<a href="mailto:uzadow@libavg.de">uzadow@libavg.de</a>&gt;<br><br><br>Hey all,<br><br>After a few false starts and much hard work, I have finally gotten asynchronous audio decoding working. My final approach is to mirror the VideoDecoderThread with an AudioDecoderThread which lines up audio packets which are consumed in the audio thread. Seeking is performed by one thread or the other depending on what streams are being played back. In the AsyncDemuxer, streams now have individual EOF flags so that all packets are delivered.<br>

<br>My work has now been committed. With that, I believe that the core of the audio subsystem is now complete. I will of course be addressing this formally with test code in the coming days. On this, does anyone have a suggestion on how I might go about synthesizing test files including audio? I found a test tone wav file which sweeps a sine wave from 20Hz to 20KHz which I thought could work for testing audio alone. I would like to test a video with audio as well, but have not really found a way to combine them. Any ideas?<br>

<br>On the subject of adding a node for audio-only files, I am again wondering if a general &#39;media&#39; node would be better than an &#39;audio&#39; node. As I remember the objection to a &#39;media&#39; node was that layout parameters of such a node (x, y, width, height, etc.) are nonsensical when the node is audio-only. However, since the base Node class is the source of these properties, an &#39;audio&#39; node would have these properties anyway. So as I see it, there are three options: 1. Create a media node which can play any media file back, 2. Create seperate &#39;video&#39; and &#39;audio&#39; nodes both extending the current Node, 3. Create seperate &#39;video&#39; and &#39;audio&#39; nodes, make Node less layout oriented, and add a LayoutNode or something that encapsulates all layout properties.<div class="Ih2E3d">
<br>
<br>Let me know what you think.<br><br></div>Thanks,<br><font color="#888888">Nick Hebner<br>
</font></div><br>