summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3interface.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/dxr3interface.c b/dxr3interface.c
index c3f5150..939e287 100644
--- a/dxr3interface.c
+++ b/dxr3interface.c
@@ -44,7 +44,7 @@ static const char *Dxr3Name(const char *Name, int n)
}
// ==================================
-//! helper function to open the card #n
+//! helper function to open card #n
static int Dxr3Open(const char *Name, int n, int Mode)
{
const char *FileName = Dxr3Name(Name, n);
@@ -177,7 +177,7 @@ void cDxr3Interface::Stop()
// audio
// ==================================
-//! set audio-output to analog
+//! set audio output to analog
void cDxr3Interface::SetAudioAnalog()
{
int ioval = 0;
@@ -201,7 +201,7 @@ void cDxr3Interface::SetAudioAnalog()
}
// ==================================
-//! set audio-output to digital pcm
+//! set audio output to digital pcm
void cDxr3Interface::SetAudioDigitalPCM()
{
int ioval = 0;
@@ -226,7 +226,7 @@ void cDxr3Interface::SetAudioDigitalPCM()
}
// ==================================
-//! set audio-output to digital ac3
+//! set audio output to digital ac3
void cDxr3Interface::SetAudioDigitalAC3()
{
if (m_audioMode != EM8300_AUDIOMODE_DIGITALAC3)
@@ -249,7 +249,7 @@ void cDxr3Interface::SetAudioDigitalAC3()
}
// ==================================
-//! set audiosepeed
+//! set audio speed
void cDxr3Interface::SetAudioSpeed(uint32_t speed)
{
if (m_audioDataRate != speed && speed != UNKNOWN_DATA_RATE)
@@ -269,7 +269,7 @@ void cDxr3Interface::SetAudioSpeed(uint32_t speed)
}
// ==================================
-//! set nummber of channels
+//! set number of channels
void cDxr3Interface::SetChannelCount(uint32_t count)
{
if (m_audioChannelCount != count && count != UNKNOWN_CHANNEL_COUNT)
@@ -365,7 +365,7 @@ void cDxr3Interface::EnableSPU()
m_spuMode = ioval = EM8300_SPUMODE_ON;
if (ioctl(m_fdControl, EM8300_IOCTL_SET_SPUMODE, &ioval) < 0)
{
- cLog::Instance() << "cDxr3AbsDevice::EnableSpu Unable to set subpicture mode!\n";
+ cLog::Instance() << "cDxr3Interface::EnableSPU Unable to set subpicture mode!\n";
}
}
@@ -384,7 +384,7 @@ void cDxr3Interface::DisableSPU()
m_spuMode = ioval = EM8300_SPUMODE_OFF;
if (ioctl(m_fdControl, EM8300_IOCTL_SET_SPUMODE, &ioval) < 0)
{
- cLog::Instance() << "cDxr3AbsDevice::EnableSpu Unable to set subpicture mode!\n";
+ cLog::Instance() << "cDxr3Interface::DisableSPU Unable to set subpicture mode!\n";
}
}
@@ -411,7 +411,7 @@ void cDxr3Interface::DisableAudio()
//! enable overlay mode of the dxr3
void cDxr3Interface::EnableOverlay()
{
- // first we check, if it is enabled yet
+ // first check if it is enabled already
if (m_OverlayActive)
{
return;
@@ -428,7 +428,7 @@ void cDxr3Interface::EnableOverlay()
if (ioctl(m_fdControl, EM8300_IOCTL_OVERLAY_SIGNALMODE, &ioval) < 0)
{
//######
- cLog::Instance() << "Singnalmode failed\n";
+ cLog::Instance() << "Signalmode failed\n";
return;
}
@@ -440,7 +440,7 @@ void cDxr3Interface::EnableOverlay()
if (ioctl(m_fdControl, EM8300_IOCTL_OVERLAY_SETSCREEN, &scr) < 0)
{
//######
- cLog::Instance() << "seting up screen failed\n";
+ cLog::Instance() << "Setting up screen failed\n";
return;
}
@@ -454,7 +454,7 @@ void cDxr3Interface::EnableOverlay()
if (ioctl(m_fdControl, EM8300_IOCTL_OVERLAY_SETWINDOW, &win) < 0)
{
//######
- cLog::Instance() << "seting up window failed\n";
+ cLog::Instance() << "Setting up window failed\n";
return;
}
@@ -465,7 +465,7 @@ void cDxr3Interface::EnableOverlay()
//! disable overlay mode of the dxr3
void cDxr3Interface::DisanleOverlay()
{
- // is it allready disabled
+ // is it already disabled
if (!m_OverlayActive)
{
return;
@@ -484,7 +484,7 @@ uint32_t cDxr3Interface::GetAspectRatio() const
{
if (ioctl(m_fdControl, EM8300_IOCTL_GET_ASPECTRATIO, &ioval) < 0)
{
- cLog::Instance() << "cDxr3AbsDevice::GetAspectRatio Unable to get aspect ratio\n";
+ cLog::Instance() << "cDxr3Interface::GetAspectRatio Unable to get aspect ratio\n";
}
}
@@ -493,7 +493,7 @@ uint32_t cDxr3Interface::GetAspectRatio() const
}
// ==================================
-//! set aspectratio
+//! set aspect ratio
void cDxr3Interface::SetAspectRatio(uint32_t ratio)
{
static int requestCounter = 0;
@@ -512,7 +512,7 @@ void cDxr3Interface::SetAspectRatio(uint32_t ratio)
requestCounter = 0;
if (ioctl(m_fdControl, EM8300_IOCTL_SET_ASPECTRATIO, &ratio) < 0)
{
- cLog::Instance() << "cDxr3AbsDevice::SetAspectRatio Unable to set aspect ratio\n";
+ cLog::Instance() << "cDxr3Interface::SetAspectRatio Unable to set aspect ratio\n";
}
else
{
@@ -555,7 +555,7 @@ void cDxr3Interface::SetPlayMode()
ioval = EM8300_PLAYMODE_PLAY;
if (ioctl(m_fdControl, EM8300_IOCTL_SET_PLAYMODE, &ioval) < 0)
{
- cLog::Instance() << "cDxr3Device::SetPlayMode Unable to set playmode!\n";
+ cLog::Instance() << "cDxr3Interface::SetPlayMode Unable to set playmode!\n";
}
reg.microcode_register = 1;
reg.reg = 0;
@@ -563,7 +563,7 @@ void cDxr3Interface::SetPlayMode()
if (ioctl(m_fdControl, EM8300_IOCTL_WRITEREG, &reg) < 0)
{
- cLog::Instance() << "cDxr3Device::SetPlayMode Unable to start em8300 sync engine\n";
+ cLog::Instance() << "cDxr3Interface::SetPlayMode Unable to start em8300 sync engine\n";
}
}
@@ -580,7 +580,7 @@ void cDxr3Interface::Pause()
{
if (ioctl(m_fdControl, EM8300_IOCTL_SET_PLAYMODE, &ioval) < 0)
{
- cLog::Instance() << "cDxr3Device::Pause Unable to set playmode!\n";
+ cLog::Instance() << "cDxr3Interface::Pause Unable to set playmode!\n";
}
}
@@ -596,7 +596,7 @@ void cDxr3Interface::SingleStep()
{
if (ioctl(m_fdControl, EM8300_IOCTL_SET_PLAYMODE, &ioval) < 0)
{
- cLog::Instance() << "cDxr3Device::Pause Unable to set playmode!\n";
+ cLog::Instance() << "cDxr3Interface::SingleStep Unable to set playmode!\n";
}
}
@@ -822,7 +822,7 @@ void cDxr3Interface::ExternalReopenDevices()
// tools
// ==================================
-//! play blackframe on tv
+//! play black frame on tv
void cDxr3Interface::PlayBlackFrame()
{
extern char blackframe[];
@@ -1013,7 +1013,7 @@ void cDxr3Interface::Resuscitation()
dsyslog("cDxr3Interface::Resuscitation Device failure detected");
UploadMicroCode();
- dsyslog("cDxr3Interface::Resuscitation Micro code upload successfully");
+ dsyslog("cDxr3Interface::Resuscitation Microcode upload successful");
//NonBlockingCloseOpen();
m_ExternalReleased = false;