From 95ef9ae3663c7578a7ee127713830bb284a54838 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 1 Apr 2009 07:47:11 +0200 Subject: simplify cDxr3DemuxDevice::setAudio --- dxr3demuxdevice.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'dxr3demuxdevice.h') diff --git a/dxr3demuxdevice.h b/dxr3demuxdevice.h index d544359..6fc768d 100644 --- a/dxr3demuxdevice.h +++ b/dxr3demuxdevice.h @@ -34,8 +34,6 @@ const int AUIDO_MAX_FRAME_SIZE = 5000; const int VIDEO_MAX_FRAME_SIZE = 3000; const uint32_t PRE_BUFFER_LENGTH = 0; -class iAudio; - // ================================== // extract video and audio class cDxr3DemuxDevice : private Uncopyable { @@ -43,7 +41,7 @@ public: cDxr3DemuxDevice(cDxr3Interface& dxr3Device); ~cDxr3DemuxDevice(); - void setAudio(iAudio *a); + void setAudio(iAudio *audio); void Stop(); void Resync(); @@ -74,9 +72,6 @@ protected: cDxr3VideoOutThread* m_pVideoThread; uint32_t m_stopScr; int m_ReUseFrame; // how often a frame should be used - -private: - iAudio *audioOut; }; #endif // __DXR3_DEMUX_DEVICE_H -- cgit v1.2.3