From: Darren V. H. <dv...@by...> - 2003-12-13 15:31:08
|
In this setup you said you had only one audio port, I assume that means that you only had one xine_t instance? If so, how were you able to pause music and still record TV? My understanding from previous posts (subject Multiple Streams), was that the metronum's scope was xine_t and that pausing one stream would pause them all. Has this changed, or did I misunderstand the other posts? Thanks, Darren On Sat, 2003-12-13 at 10:21, Miguel Freitas wrote: > On Fri, 2003-12-12 at 22:47, Darren Vincent Hart wrote: > > Illustrious xine Gurus, > > Illustrious stk guru, ;-) > > > I am writing a set-top frontend that is PVR and a music player (among > > other things). I use an instance of xine for the pvr:// mrl and another > > for music playing (so I can record shows while playing music). The > > problem I have is not being able to create two alsa audio output ports. > > Is there a way to do this or do I have to close the audio port and > > replace it with null on the non playing instance of xine when I switch > > from one to the other? I thought alsa was supposed to handle multiple > > clients openning the sound device. > > I don't know much about alsa, but i worked on a similar setup using a > single audio output port. obviously, only one stream is allowed to play > at a time. I used XINE_PARAM_IGNORE_VIDEO and XINE_PARAM_IGNORE_AUDIO > with the pvr stream, since stopping it would also stop the recording... > > audio_out.c is smart enough to realize when the stream format changes, > so driver will be reinitialized as needed (switching from one stream to > another) > > regards, > > Miguel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > xine-devel mailing list > xin...@li... > https://lists.sourceforge.net/lists/listinfo/xine-devel |