projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drastic rethink of the relationship between remote control ID and route order keys...
[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 ffd1f8d9b07eae6ab998c6de6890671fa354f258..7f084a5c85fb12d56897cb384fa242f6d614b745 100644
(file)
--- a/
libs/ardour/ardour/audio_port.h
+++ b/
libs/ardour/ardour/audio_port.h
@@
-39,21
+39,22
@@
class AudioPort : public Port
void cycle_end (pframes_t);
void cycle_split ();
void cycle_end (pframes_t);
void cycle_split ();
- size_t raw_buffer_size (pframes_t nframes) const;
-
- Buffer& get_buffer (framecnt_t nframes) {
+ Buffer& get_buffer (pframes_t nframes) {
return get_audio_buffer (nframes);
}
return get_audio_buffer (nframes);
}
- AudioBuffer& get_audio_buffer (
framecnt
_t nframes);
+ AudioBuffer& get_audio_buffer (
pframes
_t nframes);
protected:
friend class AudioEngine;
AudioPort (std::string const &, Flags);
protected:
friend class AudioEngine;
AudioPort (std::string const &, Flags);
+ /* special access for engine only */
+ Sample* engine_get_whole_audio_buffer ();
private:
AudioBuffer* _buffer;
private:
AudioBuffer* _buffer;
+ bool _buf_valid;
};
} // namespace ARDOUR
};
} // namespace ARDOUR