diff --git a/include/FileLoop.h b/include/FileLoop.h index 5b7c285e..10914e72 100644 --- a/include/FileLoop.h +++ b/include/FileLoop.h @@ -74,7 +74,8 @@ class FileLoop : protected FileWvIn void normalize( StkFloat peak ) { FileWvIn::normalize( peak ); }; //! Return the file size in sample frames. - unsigned long getSize( void ) const { return data_.frames(); }; + //unsigned long getSize( void ) const { return data_.frames(); }; + unsigned long getSize( void ) const { return fileSize_; }; //! Return the input file sample rate in Hz (not the data read rate). /*!