[mythtv] [PATCH] small oss define patch (prelude to another ALSA patch)

Jeremiah Morris jm at whpress.com
Wed Oct 6 14:45:28 UTC 2004


On 6 Oct 2004, at 3:02 AM, Ed Wildgoose wrote:

> I have made some big structural changes to the Audio code to introduce 
> a new concrete base class which implements the basic algorithm that 
> all the other concrete classes inherit from.

As someone who recently implemented an audio module (Core Audio for Mac 
OS X), that sounds like a wonderful idea.  The audiooutputca.cpp was 
about 20% mine and 80% copied from OSS.

I'll be curious to see where the lines are drawn in your subclass API; 
the twist to Core Audio is that the sound system asks you for data via 
a callback, so the soundcard feeder thread isn't needed (the OS 
essentially has its own feeder thread).  Hopefully I'll be able to use 
internal buffering, etc. from the base module while avoiding the 
overhead of an extra audio thread.  (If you want to discuss this 
further, you can contact me on or off list.)

- Jeremiah



More information about the mythtv-dev mailing list