Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR plugins - RFC - audio handling



On Thursday 23 May 2002 18:07, Klaus Schmidinger wrote:
> Andreas Schultz wrote:

[...]

> Ok, I'll then make it so that the cDevice (an abstract "thing" that can
> replay video and audio data, but by itself doesn't know how - the actual
> action will be implemented by classes derived from cDevice, one of them
> being cDvbDevice) will have a PlayVideo() and a PlayAudio() function. A
> player shall feed video data into the PlayVideo() function, and (any kind
> of!) audio data into the PlayAudio() function. PlayAudio() will simply
> distribute the audio data to any registered audio device (which can be
> implemented via plugins).

great, thanks

> The question is: If _all_ audio data is presented to every audio device,
> will the various devices be able to filter out exactly the kind of data
> they can handle? If not, then we would need several PlayAudio() functions
> (or a PlayAudio() with a controlling parameter) for the various types if
> audio data, and the player would have to decide where to send each chunk of
> audio data. Personally I'd prefer the first method.

Me thinks the first method is better.

I can already feel some limitations, but can't name them right now. Guess, i 
have to try coding some things to come up with better description.

Andreas
-- 
Andreas Schultz <aschultz@cs.uni-magdeburg.de>
Student of computer science

"In accordance with plans for Linux OS world domination
      infiltration of governments is vital (:-))."




Home | Main Index | Thread Index