OSDN Git Service

非同期エージェントライブラリでスレッド部分を書き換えてみた。
[winaudioj/wasapi2.git] / wasapi2 / mixer_agent.h
1 #pragma once
2 /*
3   ==============================================================================
4
5    This file is part of the async
6    Copyright 2005-10 by Satoshi Fujiwara.
7
8    async can be redistributed and/or modified under the terms of the
9    GNU General Public License, as published by the Free Software Foundation;
10    either version 2 of the License, or (at your option) any later version.
11
12    async is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with async; if not, visit www.gnu.org/licenses or write to the
19    Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
20    Boston, MA 02111-1307 USA
21
22   ==============================================================================
23 */
24 #include "agent_base.h"
25
26 namespace sf {
27 struct mixer_agent_t : public agent_base
28 {
29   mixer_agent_t(){};
30   ~mixer_agent_t(){};
31   enum mixer_status
32   {
33     status_config,
34     status_config_ok,
35     status_process,
36     status_processing,
37     status_pause,
38     status_pause_ok,
39     status_exit,
40     status_error = STATUS_ERROR
41   };
42 protected:
43   void run();
44 private:
45 };
46 }
47