Mailing List archive

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

[vdr] Re: Are there plans to support more than one primary device?



Am Freitag, 13. Juni 2003 16:42 schrieb Gunnar Roth:
> Hello list,
> i made a mod of mp3 plugin, which output the sound data to a soundcard.
> im am now able to view the live video and audio AND listen to mp3 sound
> at the same time
> ( headphones can be used for one of the audio( or both ).
> but you cannot replay a recording, because the mp3 oss is the activer
> player.
> as far as i know , only the primary device can be used for a player.
> so my question is, if for the next version of vdr, this concept can be
> changed.

I'd rather suggest that you change the concept of your plugin.
For example:
Your MP3Player is separated from VDR's player infrastructure. You may well 
derive it from cPlayer, but do not attach it to a device. It has a 
thread-safe control interface (be it derived from cControl) and runs in its 
own thread.
The plugins' MainMenuAction returns a menu structure which provides full 
control over MP3Player (Start/Stop/Playlist etc.).
So the mp3 stuff does not affect any other functionality of VDR.

This is simply a quick idea, the way I would have tried it.

Marcel
>
> regards,
> gunnar



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index