summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-20 06:04:33 +0000
committerDavid Robillard <d@drobilla.net>2010-02-20 06:04:33 +0000
commitb96a4015ae39b5bdd9afbd82898c0168a0a8e613 (patch)
tree257d012a928bcc8203a4a6d7861c266d8d119b2e /src
parentbf684d5e7cd3fcfad1264ff01bb233b3c467d248 (diff)
downloadingen-b96a4015ae39b5bdd9afbd82898c0168a0a8e613.tar.gz
ingen-b96a4015ae39b5bdd9afbd82898c0168a0a8e613.tar.bz2
ingen-b96a4015ae39b5bdd9afbd82898c0168a0a8e613.zip
Remove no longer used AudioDriver.hpp.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2466 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/engine/AudioDriver.hpp64
-rw-r--r--src/engine/ingen.lv2/ingen_lv2.cpp4
2 files changed, 2 insertions, 66 deletions
diff --git a/src/engine/AudioDriver.hpp b/src/engine/AudioDriver.hpp
deleted file mode 100644
index 712715d9..00000000
--- a/src/engine/AudioDriver.hpp
+++ /dev/null
@@ -1,64 +0,0 @@
-/* This file is part of Ingen.
- * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
- *
- * Ingen 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.
- *
- * Ingen 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 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.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef INGEN_ENGINE_AUDIODRIVER_HPP
-#define INGEN_ENGINE_AUDIODRIVER_HPP
-
-#include "raul/Path.hpp"
-#include "Driver.hpp"
-#include "types.hpp"
-#include "interface/PortType.hpp"
-
-namespace Raul { class Path; }
-
-namespace Ingen {
-
-class PatchImpl;
-class AudioDriver;
-class PortImpl;
-class ProcessContext;
-
-
-/** Audio driver abstract base class.
- *
- * \ingroup engine
- */
-class AudioDriver : public Driver
-{
-public:
- AudioDriver() : Driver(Shared::PortType::AUDIO) {}
-
- virtual void set_root_patch(PatchImpl* patch) = 0;
- virtual PatchImpl* root_patch() = 0;
-
- virtual void add_port(DriverPort* port) = 0;
-
- virtual Raul::List<DriverPort*>::Node* remove_port(const Raul::Path& path) = 0;
-
- virtual SampleCount buffer_size() const = 0;
- virtual SampleCount sample_rate() const = 0;
- virtual SampleCount frame_time() const = 0;
-
- virtual bool is_realtime() const = 0;
-
- virtual ProcessContext& context() = 0;
-};
-
-
-} // namespace Ingen
-
-#endif // INGEN_ENGINE_AUDIODRIVER_HPP
diff --git a/src/engine/ingen.lv2/ingen_lv2.cpp b/src/engine/ingen.lv2/ingen_lv2.cpp
index 598c2802..3ff285e5 100644
--- a/src/engine/ingen.lv2/ingen_lv2.cpp
+++ b/src/engine/ingen.lv2/ingen_lv2.cpp
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include "lv2.h"
#include "engine/Engine.hpp"
-#include "engine/AudioDriver.hpp"
+#include "engine/Driver.hpp"
#include "engine/ProcessContext.hpp"
#include "engine/PatchImpl.hpp"
#include "module/World.hpp"
@@ -34,7 +34,7 @@ using namespace Ingen;
/* Plugin */
-struct IngenLV2Driver : public Ingen::AudioDriver {
+struct IngenLV2Driver : public Ingen::Driver {
IngenLV2Driver(Engine& engine, SampleCount buffer_size, SampleCount sample_rate)
: _context(engine)
, _buffer_size(buffer_size)