NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 37 38 39 40 41 … 93 Next »
PlayAudio() stops prematurely

 
  • 0 Vote(s) - 0 Average
PlayAudio() stops prematurely
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#1
2007-12-18, 10:30 PM
I'm having some success with the DVB-T Radio plugin (as in it mostly works for me). ACTCMS has been testing it but is seeing various issues that I'm not.

In particular, playback of the radio station stops after maybe 10-20 seconds.

The method I'm using for this is an external exe to build a simple graph (BDA components -> demux -> audio dec. -> LAME enc. -> File Writer). The file is named gbnetradio-0.mp3 and I let it buffer for a few seconds before using PlayAudio() from within the plugin.

Looking at a pvrx2.exe.log from ACTCMS, it contains the following...
Code:
2007-12-18 11:36:46.203    VERBOSE    [1]    Song ended. Checking if there are more songs to play.

The exe is still running and the mp3 file continues to grow.

What criteria are used by PVRX2 to decide this and why don't I see this behaviour?

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2007-12-18, 10:36 PM
It only stops if the file hasnt grown for 5 seconds.

If you put in a bigger sleep, does it play for longer? Try something extreme like 30 seconds before starting playback.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#3
2007-12-19, 03:31 AM
sub Wrote:It only stops if the file hasnt grown for 5 seconds.

If you put in a bigger sleep, does it play for longer? Try something extreme like 30 seconds before starting playback.
Thanks - more tests being conducted.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IVideoPlugin.Deactivate() not called when video stops Snarky 5 2,475 2006-03-21, 06:48 PM
Last Post: McBainUK

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode