summaryrefslogtreecommitdiff
path: root/dxr3output.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-02 08:30:13 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-02 08:30:13 +0200
commite90ad159371e1f83e02ae10db326c2b2fbffdfbd (patch)
treee5ce9db35093e0ed29172312d72de3c8c3160fb7 /dxr3output.h
parent9261c474ce41b2e72fdb1341af465849e25cecea (diff)
downloadvdr-plugin-dxr3-e90ad159371e1f83e02ae10db326c2b2fbffdfbd.tar.gz
vdr-plugin-dxr3-e90ad159371e1f83e02ae10db326c2b2fbffdfbd.tar.bz2
rework singleton class
Diffstat (limited to 'dxr3output.h')
-rw-r--r--dxr3output.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dxr3output.h b/dxr3output.h
index e80478b..083893e 100644
--- a/dxr3output.h
+++ b/dxr3output.h
@@ -31,7 +31,7 @@ class iAudio;
// ==================================
class cDxr3OutputThread : public cThread, private Uncopyable {
public:
- cDxr3OutputThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
+ cDxr3OutputThread(cDxr3SyncBuffer& buffer);
virtual ~cDxr3OutputThread() {
m_buffer.Stop();
Cancel(3);
@@ -43,7 +43,7 @@ public:
protected:
virtual void Action() = 0;
- cDxr3Interface& m_dxr3Device;
+ cDxr3Interface *m_dxr3Device;
cDxr3SyncBuffer& m_buffer;
bool m_bNeedResync;
};
@@ -51,7 +51,7 @@ protected:
// ==================================
class cDxr3AudioOutThread : public cDxr3OutputThread {
public:
- cDxr3AudioOutThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
+ cDxr3AudioOutThread(cDxr3SyncBuffer& buffer);
void setAudio(iAudio *a) { audioOutput = a; }
@@ -68,7 +68,7 @@ private:
// ==================================
class cDxr3VideoOutThread : public cDxr3OutputThread {
public:
- cDxr3VideoOutThread(cDxr3Interface& dxr3Device, cDxr3SyncBuffer& buffer);
+ cDxr3VideoOutThread(cDxr3SyncBuffer& buffer);
protected:
void Action();