From ea68590c07fab5f4ef712187201b568798d773e2 Mon Sep 17 00:00:00 2001 From: wittend99 Date: Tue, 15 May 2012 13:44:43 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@466 01035d8c-6547-0410-b346-abe4f91aad63 --- fdmdv2/thread_audio.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 fdmdv2/thread_audio.h diff --git a/fdmdv2/thread_audio.h b/fdmdv2/thread_audio.h new file mode 100644 index 00000000..5c2e9a4e --- /dev/null +++ b/fdmdv2/thread_audio.h @@ -0,0 +1,26 @@ +//========================================================================== +// Name: thread_audio.h +// +// Purpose: Declares background thread classes to handle audio IO. +// Created: May 11, 2012 +// Initial author: David Witten +// License: BSD License (other licenses may apply to other +// components of this project) +//========================================================================== +#include +#include "fdmdv2_main.h" + +//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= +// Class AudioThread +//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= +class AudioThread: public wxThread +{ + public: + AudioThread(MainFrame *handler) : wxThread(wxTHREAD_DETACHED) { m_pHandler = handler } + ~AudioThread(); + + protected: + virtual ExitCode Entry(); + MainFrame *m_pHandler; +}; + -- 2.25.1