Browse Source

New JackPortAudioIOAdapter.cpp,h files

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2576 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
56d9cc20ef
3 changed files with 81 additions and 1 deletions
  1. +0
    -1
      macosx/JackCoreAudioIOAdapter.h
  2. +35
    -0
      windows/JackPortAudioIOAdapter.cpp
  3. +46
    -0
      windows/JackPortAudioIOAdapter.h

+ 0
- 1
macosx/JackCoreAudioIOAdapter.h View File

@@ -22,7 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


#include "JackIOAdapter.h" #include "JackIOAdapter.h"
#include "jack.h" #include "jack.h"

#include <AudioToolbox/AudioConverter.h> #include <AudioToolbox/AudioConverter.h>
#include <CoreAudio/CoreAudio.h> #include <CoreAudio/CoreAudio.h>
#include <AudioUnit/AudioUnit.h> #include <AudioUnit/AudioUnit.h>


+ 35
- 0
windows/JackPortAudioIOAdapter.cpp View File

@@ -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

+ 46
- 0
windows/JackPortAudioIOAdapter.h View File

@@ -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

Loading…
Cancel
Save