From 913d4657c75c3005880a0fdb59a902a390f1fc05 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Oct 2007 12:57:15 +0200 Subject: Fixed description of DeviceSetAvailableTrack() and cReceiver(), and added an example ~cMyReceiver() in PLUGINS.html --- PLUGINS.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 1dff44c7..134bd8f2 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -1328,7 +1328,9 @@ A player that has special requirements about audio tracks should announce its available audio tracks by calling

-bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, uint32_t Flags = 0)
+
  +bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL) +

See device.h for details about the parameters for track handling. @@ -1454,10 +1456,20 @@ public: }; cMyReceiver::cMyReceiver(int Pid) -:cReceiver(0, -1, Pid) +
  +:cReceiver(tChannelID(), -1, Pid) +
{ } +
 
+cMyReceiver::~cMyReceiver()
+{
+  cReceiver::Detach();
+  ...
+}
+
+ void cMyReceiver::Activate(bool On) { // start your own thread for processing the received data -- cgit v1.2.3