From 56d9cc20ef6ec5b51afb65f0db42d139a05deb33 Mon Sep 17 00:00:00 2001 From: sletz Date: Wed, 2 Jul 2008 12:46:01 +0000 Subject: [PATCH] New JackPortAudioIOAdapter.cpp,h files git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2576 0c269be4-1314-0410-8aa9-9f06e86f4224 --- macosx/JackCoreAudioIOAdapter.h | 1 - windows/JackPortAudioIOAdapter.cpp | 35 +++++++++++++++++++++++ windows/JackPortAudioIOAdapter.h | 46 ++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 windows/JackPortAudioIOAdapter.cpp create mode 100644 windows/JackPortAudioIOAdapter.h diff --git a/macosx/JackCoreAudioIOAdapter.h b/macosx/JackCoreAudioIOAdapter.h index 5ad61853..ab4bac3e 100644 --- a/macosx/JackCoreAudioIOAdapter.h +++ b/macosx/JackCoreAudioIOAdapter.h @@ -22,7 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "JackIOAdapter.h" #include "jack.h" - #include #include #include diff --git a/windows/JackPortAudioIOAdapter.cpp b/windows/JackPortAudioIOAdapter.cpp new file mode 100644 index 00000000..ca7132ec --- /dev/null +++ b/windows/JackPortAudioIOAdapter.cpp @@ -0,0 +1,35 @@ +/* +Copyright (C) 2008 Grame + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "JackPortAudioIOAdapter.h" +#include "portaudio.h" + +namespace Jack +{ + +JackPortAudioIOAdapter::JackPortAudioIOAdapter(int input, int output) + :JackIOAdapterInterface(input, output) +{} + +JackPortAudioIOAdapter::~JackPortAudioIOAdapter() +{} + +} + +#endif diff --git a/windows/JackPortAudioIOAdapter.h b/windows/JackPortAudioIOAdapter.h new file mode 100644 index 00000000..b5dd47c9 --- /dev/null +++ b/windows/JackPortAudioIOAdapter.h @@ -0,0 +1,46 @@ +/* +Copyright (C) 2008 Grame + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __JackPortAudioIOAdapter__ +#define __JackPortAudioIOAdapter__ + +#include "JackIOAdapter.h" +#include "portaudio.h" + +namespace Jack +{ + + class JackPortAudioIOAdapter : public JackIOAdapterInterface + { + + private: + + + public: + + JackPortAudioIOAdapter(int input, int output) + :JackIOAdapterInterface(input, output) + {} + ~JackPortAudioIOAdapter() + {} + + }; +} + +#endif