From c522225344fdcbea2ec2946695d43a5dfa6c175a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 Jan 2005 14:40:47 +0100 Subject: Recording and Transfer Mode now handle more than 2 audio PIDs --- PLUGINS.html | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 9132aa23..e8f456a6 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -14,18 +14,18 @@ Copyright © 2004 Klaus Schmidinger
www.cadsoft.de/vdr

-
  -Important modifications introduced in version 1.3.0 are marked like this. -
-
  +
  Important modifications introduced in version 1.3.7 are marked like this.
-
  +
  Important modifications introduced in version 1.3.8 are marked like this.
-
  +
  Important modifications introduced in version 1.3.18 are marked like this.
+
  +Important modifications introduced in version 1.3.19 are marked like this. +

VDR provides an easy to use plugin interface that allows additional functionality to be added to the program by implementing a dynamically loadable library file. @@ -73,11 +73,9 @@ structures and allows it to hook itself into specific areas to perform special a

  • Status monitor
  • Players
  • Receivers -
     
  • Filters -
  • The On Screen Display -
      +
     
  • Skins
  • Themes
  • @@ -1023,7 +1021,7 @@ public: Take a look at the files player.h and dvbplayer.c to see how VDR implements its own player for the VDR recordings.

    -
      +
      To play the actual data, the player needs to call its member function

    @@ -1046,7 +1044,7 @@ bool DevicePoll(cPoller &Poller, int TimeoutMs = 0);
     
     to determine whether the device is ready for further data.
     

    -
      +
      By default all audio track handling is done by the device a player is attached to. If the player can provide more than a single audio track, and has special @@ -1183,7 +1181,9 @@ public: }; cMyReceiver::cMyReceiver(int Pid) -:cReceiver(0, -1, 1, Pid) +
      +:cReceiver(0, -1, Pid) +
    { } @@ -1223,7 +1223,6 @@ Mode). If the cReceiver isn't needed any more, it may simply be deleted and will automatically detach itself from the cDevice. -
     

    Filters

    A Fistful of Datas

    @@ -1267,9 +1266,8 @@ If the cFilter isn't needed any more, it may simply be deleted and will automatically detach itself from the cDevice.

    See VDR/eit.c or VDR/pat.c to learn how to process filter data. -

    -
      +
     

    The On Screen Display

    Window to the world

    @@ -1362,7 +1360,7 @@ public: virtual cSkinDisplayMenu *DisplayMenu(void); virtual cSkinDisplayReplay *DisplayReplay(bool ModeOnly); virtual cSkinDisplayVolume *DisplayVolume(void); -
      +
      virtual cSkinDisplayMessage *DisplayTrack(int NumTracks, const char * const *Tracks);
    virtual cSkinDisplayMessage *DisplayMessage(void); @@ -1384,7 +1382,7 @@ new cMySkin; in the Start() function of your plugin. Do not delete this object, it will be automatically deleted when the program ends.

    -
      +
      In order to be able to easily identify plugins that implement a skin it is recommended that the name of such a plugin should be @@ -1495,7 +1493,7 @@ repectively. If the device can provide more than a single audio track, it can implement the following function to make them available: -
      +
     

     virtual void SetAudioTrackDevice(eTrackType Type);
     virtual int GetAudioChannelDevice(void);
    @@ -1558,7 +1556,6 @@ virtual void SetVideoFormat(bool VideoFormat16_9);
     virtual void SetVolumeDevice(int Volume);
     

    -
     

    Section Filtering

    @@ -1583,12 +1580,11 @@ from its constructor.

    See Filters on how to set up actual filters that can handle section data. -

    On Screen Display

    -
      +
      If your device provides On Screen Display (OSD) capabilities (which every device that is supposed to be used as a primary device should do), it shall implement an "OSD provider" class, derived from cOsdProvider, which, when its CreateOsd() -- cgit v1.2.3