Jack2 1.9.8
|
00001 /* 00002 Copyright (C) 2011 Devin Anderson 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 00018 */ 00019 00020 #ifndef __JackWinMMEPort__ 00021 #define __JackWinMMEPort__ 00022 00023 #include <windows.h> 00024 #include <mmsystem.h> 00025 00026 #include "JackConstants.h" 00027 00028 namespace Jack { 00029 00030 class JackWinMMEPort { 00031 00032 protected: 00033 00034 char alias[JACK_CLIENT_NAME_SIZE + JACK_PORT_NAME_SIZE]; 00035 char name[JACK_CLIENT_NAME_SIZE + JACK_PORT_NAME_SIZE]; 00036 00037 public: 00038 00039 JackWinMMEPort(); 00040 00041 ~JackWinMMEPort(); 00042 00043 const char * 00044 GetAlias(); 00045 00046 const char * 00047 GetName(); 00048 00049 void 00050 GetOSErrorString(LPTSTR text); 00051 00052 void 00053 WriteOSError(const char *jack_func, const char *os_func); 00054 00055 }; 00056 00057 } 00058 00059 #endif