From 759fc187bcb4416db31317b6e47dbe421c59d707 Mon Sep 17 00:00:00 2001 From: Abhi Date: Sun, 21 Sep 2014 21:28:39 -0400 Subject: [PATCH] Renamed StkFrames::copyChannel Renamed StkFrames::copyChannel to StkFrames::getChannel. --- include/Stk.h | 4 ++-- src/Stk.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Stk.h b/include/Stk.h index 9e753b0..5ab4b80 100644 --- a/include/Stk.h +++ b/include/Stk.h @@ -373,13 +373,13 @@ public: */ void resize( size_t nFrames, unsigned int nChannels, StkFloat value ); - //! Copies a single channel + //! Retrieves a single channel /*! Copies the specified \c channel into \c destinationFrames's \c destinationChannel. \c destinationChannel must be between 0 and destination.channels() - 1 and \c channel must be between 0 and channels() - 1. destination.frames() must be >= frames(). No range checking is performed unless _STK_DEBUG_ is defined. */ - StkFrames& copyChannel(unsigned int channel,StkFrames& destinationFrames, unsigned int destinationChannel) const; + StkFrames& getChannel(unsigned int channel,StkFrames& destinationFrames, unsigned int destinationChannel) const; //! Return the number of channels represented by the data. unsigned int channels( void ) const { return nChannels_; }; diff --git a/src/Stk.cpp b/src/Stk.cpp index 7a2cf57..e55cede 100644 --- a/src/Stk.cpp +++ b/src/Stk.cpp @@ -317,7 +317,7 @@ void StkFrames :: resize( size_t nFrames, unsigned int nChannels, StkFloat value for ( size_t i=0; i channels() - 1) {