From bb9cc45cd22af67ac275a5e73accbe14fee664d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Oct 2009 16:10:01 +0000 Subject: Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/export_channel.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libs/ardour/ardour/export_channel.h') diff --git a/libs/ardour/ardour/export_channel.h b/libs/ardour/ardour/export_channel.h index 4fe1efa294..fdb466a06e 100644 --- a/libs/ardour/ardour/export_channel.h +++ b/libs/ardour/ardour/export_channel.h @@ -44,13 +44,13 @@ class ExportChannel virtual void read (Sample * data, nframes_t frames) const = 0; virtual bool empty () const = 0; - + /// Adds state to node passed virtual void get_state (XMLNode * node) const = 0; - + /// Sets state from node passed virtual void set_state (XMLNode * node, Session & session) = 0; - + // Operator< must be defined for usage in e.g. std::map or std::set to disallow duplicates when necessary virtual bool operator< (ExportChannel const & other) const = 0; }; @@ -72,13 +72,13 @@ class PortExportChannel : public ExportChannel typedef std::set PortSet; PortExportChannel () {} - + void read (Sample * data, nframes_t frames) const; bool empty () const { return ports.empty(); } - + void get_state (XMLNode * node) const; void set_state (XMLNode * node, Session & session); - + bool operator< (ExportChannel const & other) const; void add_port (AudioPort * port) { ports.insert (port); } @@ -97,13 +97,13 @@ class RegionExportChannelFactory : public sigc::trackable Fades, Processed }; - + RegionExportChannelFactory (Session * session, AudioRegion const & region, AudioTrack & track, Type type); ~RegionExportChannelFactory (); ExportChannelPtr create (uint32_t channel); void read (uint32_t channel, Sample * data, nframes_t frames_to_read); - + private: int new_cycle_started () { buffers_up_to_date = false; return 0; } @@ -119,7 +119,7 @@ class RegionExportChannelFactory : public sigc::trackable bool buffers_up_to_date; nframes_t region_start; nframes_t position; - + Sample * mixdown_buffer; Sample * gain_buffer; }; @@ -139,11 +139,11 @@ class RegionExportChannel : public ExportChannel private: - RegionExportChannel (RegionExportChannelFactory & factory, uint32_t channel) : - factory (factory), - channel (channel) + RegionExportChannel (RegionExportChannelFactory & factory, uint32_t channel) + : factory (factory) + , channel (channel) {} - + RegionExportChannelFactory & factory; uint32_t channel; }; -- cgit v1.2.3