summaryrefslogtreecommitdiff
path: root/dxr3output.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3output.h')
-rw-r--r--dxr3output.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/dxr3output.h b/dxr3output.h
index e015daa..bbf1cc4 100644
--- a/dxr3output.h
+++ b/dxr3output.h
@@ -1,5 +1,5 @@
/*
- * dxr3outputthread.h
+ * dxr3output.h
*
* Copyright (C) 2002-2004 Kai Möller
*
@@ -31,16 +31,11 @@ class cDxr3OutputThread : public cThread
{
public:
cDxr3OutputThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
- virtual ~cDxr3OutputThread()
- {
- Cancel();
- };
- /*
- virtual void Start(void)
- {
- cThread::Start();
+ virtual ~cDxr3OutputThread() {
+ m_buffer.Stop();
+ Cancel(3);
};
- */
+
bool NeedResync()
{
return m_bNeedResync;
@@ -66,7 +61,6 @@ class cDxr3AudioOutThread : public cDxr3OutputThread
{
public:
cDxr3AudioOutThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
- virtual ~cDxr3AudioOutThread();
protected:
void Action();
@@ -81,7 +75,6 @@ class cDxr3VideoOutThread : public cDxr3OutputThread
{
public:
cDxr3VideoOutThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
- virtual ~cDxr3VideoOutThread();
protected:
void Action();