mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Comments cleanup.
This commit is contained in:
parent
b1beb49798
commit
5bacd0cf7b
@ -1,7 +1,7 @@
|
||||
///
|
||||
/// @file softhddevice.cpp @brief A software HD device plugin for VDR.
|
||||
///
|
||||
/// Copyright (c) 2011, 2012 by Johns. All Rights Reserved.
|
||||
/// Copyright (c) 2011 - 2013 by Johns. All Rights Reserved.
|
||||
///
|
||||
/// Contributor(s):
|
||||
///
|
||||
@ -1833,12 +1833,12 @@ int cSoftHdDevice::PlayVideo(const uchar * data, int length)
|
||||
|
||||
#ifdef USE_TS_VIDEO
|
||||
|
||||
///
|
||||
/// Play a TS video packet.
|
||||
///
|
||||
/// @param data ts data buffer
|
||||
/// @param length ts packet length (188)
|
||||
///
|
||||
/**
|
||||
** Play a TS video packet.
|
||||
**
|
||||
** @param data ts data buffer
|
||||
** @param length ts packet length (188)
|
||||
*/
|
||||
int cSoftHdDevice::PlayTsVideo(const uchar * data, int length)
|
||||
{
|
||||
}
|
||||
@ -1847,12 +1847,12 @@ int cSoftHdDevice::PlayTsVideo(const uchar * data, int length)
|
||||
|
||||
#if !defined(USE_AUDIO_THREAD) || !defined(NO_TS_AUDIO)
|
||||
|
||||
///
|
||||
/// Play a TS audio packet.
|
||||
///
|
||||
/// @param data ts data buffer
|
||||
/// @param length ts packet length (188)
|
||||
///
|
||||
/**
|
||||
** Play a TS audio packet.
|
||||
**
|
||||
** @param data ts data buffer
|
||||
** @param length ts packet length (188)
|
||||
*/
|
||||
int cSoftHdDevice::PlayTsAudio(const uchar * data, int length)
|
||||
{
|
||||
#ifndef NO_TS_AUDIO
|
||||
@ -1933,9 +1933,11 @@ cPluginSoftHdDevice::cPluginSoftHdDevice(void)
|
||||
//dsyslog("[softhddev]%s:\n", __FUNCTION__);
|
||||
}
|
||||
|
||||
/**
|
||||
** Clean up after yourself!
|
||||
*/
|
||||
cPluginSoftHdDevice::~cPluginSoftHdDevice(void)
|
||||
{
|
||||
// Clean up after yourself!
|
||||
//dsyslog("[softhddev]%s:\n", __FUNCTION__);
|
||||
|
||||
::SoftHdDeviceExit();
|
||||
@ -1953,6 +1955,11 @@ const char *cPluginSoftHdDevice::Version(void)
|
||||
return VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
** Return plugin short description.
|
||||
**
|
||||
** @returns short description as constant string.
|
||||
*/
|
||||
const char *cPluginSoftHdDevice::Description(void)
|
||||
{
|
||||
return tr(DESCRIPTION);
|
||||
@ -1960,6 +1967,8 @@ const char *cPluginSoftHdDevice::Description(void)
|
||||
|
||||
/**
|
||||
** Return a string that describes all known command line options.
|
||||
**
|
||||
** @returns command line help as constant string.
|
||||
*/
|
||||
const char *cPluginSoftHdDevice::CommandLineHelp(void)
|
||||
{
|
||||
@ -1976,9 +1985,15 @@ bool cPluginSoftHdDevice::ProcessArgs(int argc, char *argv[])
|
||||
return::ProcessArgs(argc, argv);
|
||||
}
|
||||
|
||||
/**
|
||||
** Initializes the DVB devices.
|
||||
**
|
||||
** Must be called before accessing any DVB functions.
|
||||
**
|
||||
** @returns true if any devices are available.
|
||||
*/
|
||||
bool cPluginSoftHdDevice::Initialize(void)
|
||||
{
|
||||
// Start any background activities the plugin shall perform.
|
||||
//dsyslog("[softhddev]%s:\n", __FUNCTION__);
|
||||
|
||||
MyDevice = new cSoftHdDevice();
|
||||
|
Loading…
Reference in New Issue
Block a user