projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add personal monitor sends
[ardour.git]
/
libs
/
ardour
/
ardour
/
audio_port.h
diff --git
a/libs/ardour/ardour/audio_port.h
b/libs/ardour/ardour/audio_port.h
index f87b134e9e4644019a319803be75c7bf56072411..4f106c5593000328f8f34e2bb5c1e328da5972e5 100644
(file)
--- a/
libs/ardour/ardour/audio_port.h
+++ b/
libs/ardour/ardour/audio_port.h
@@
-21,14
+21,16
@@
#ifndef __ardour_audio_port_h__
#define __ardour_audio_port_h__
#ifndef __ardour_audio_port_h__
#define __ardour_audio_port_h__
+#include "zita-resampler/vmresampler.h"
+
#include "ardour/port.h"
#include "ardour/audio_buffer.h"
namespace ARDOUR {
#include "ardour/port.h"
#include "ardour/audio_buffer.h"
namespace ARDOUR {
-class AudioPort : public Port
+class
LIBARDOUR_API
AudioPort : public Port
{
{
-
public:
+public:
~AudioPort ();
DataType type () const {
~AudioPort ();
DataType type () const {
@@
-45,16
+47,18
@@
class AudioPort : public Port
AudioBuffer& get_audio_buffer (pframes_t nframes);
AudioBuffer& get_audio_buffer (pframes_t nframes);
-
protected:
+protected:
friend class PortManager;
AudioPort (std::string const &, PortFlags);
friend class PortManager;
AudioPort (std::string const &, PortFlags);
-
/* special access for PortManager only (hah, C++) */
-
Sample* engine_get_whole_audio_buffer ();
+ /* special access for PortManager only (hah, C++) */
+ Sample* engine_get_whole_audio_buffer ();
- private:
- AudioBuffer* _buffer;
- bool _buf_valid;
+private:
+ AudioBuffer* _buffer;
+ ArdourZita::VMResampler _src;
+ Sample* _data;
+ bool _buf_valid;
};
} // namespace ARDOUR
};
} // namespace ARDOUR