Mailing List archive

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

[vdr] Re: bitstreamout and mp3?



On Fri, Oct 22, 2004 at 08:31:46AM +0200, hm@seneca.muc.de wrote:
> Hi,
> 
> how can I send the decoded MP3 to the SPDIF out using bitstreamout? Werner
> says it would be easy if vdr-mp3 used PlayAudio() but it doesn't ... Any idea? 

You may use something like

    if(!pframe && playMode==pmPlay) {
      pframe=ringBuffer->Get();
      if(pframe) {
        p=pframe->Data();
        pc=pframe->Count();
        if (p)
           PlayAudio(p, pc);
        }
      }

in other word a further PlayAudio() before the PlayVideo()
in the Action() of the cMP3Player class.


         Werner

-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index