summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/audio_diskstream.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-31 21:16:44 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-31 21:16:44 +0000
commit4978c0d4c63bba054181cc0988fd83bc5fa8c9eb (patch)
tree1e7d61452e192e41d475f2f3adf4374026c5140f /libs/ardour/ardour/audio_diskstream.h
parentc0b59854ff2feb3e727c8014e7f30cbc00b22497 (diff)
A few comments and minor coding style adjustments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10358 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audio_diskstream.h')
-rw-r--r--libs/ardour/ardour/audio_diskstream.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/audio_diskstream.h b/libs/ardour/ardour/audio_diskstream.h
index 519cbd264c..982d08e028 100644
--- a/libs/ardour/ardour/audio_diskstream.h
+++ b/libs/ardour/ardour/audio_diskstream.h
@@ -162,6 +162,7 @@ class AudioDiskstream : public Diskstream
void ensure_monitor_input (bool) const;
};
+ /** Information about one of our channels */
struct ChannelInfo : public boost::noncopyable {
ChannelInfo (framecnt_t playback_buffer_size,
@@ -176,13 +177,15 @@ class AudioDiskstream : public Diskstream
boost::shared_ptr<AudioFileSource> write_source;
- /// information the Port that our audio data comes from
-
+ /** Information about the Port that our audio data comes from */
ChannelSource source;
Sample *current_capture_buffer;
Sample *current_playback_buffer;
+ /** A ringbuffer for data to be played back, written to in the
+ butler thread, read from in the process thread.
+ */
PBD::RingBufferNPT<Sample> *playback_buf;
PBD::RingBufferNPT<Sample> *capture_buf;