Skip to content

Commit

Permalink
Fix in FileLoop::getSize() to return file size in samples, rather tha…
Browse files Browse the repository at this point in the history
…n the chunk size if chunking.(GPS)
  • Loading branch information
garyscavone committed Apr 27, 2018
1 parent 11d1dc5 commit 6ce3ac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/FileLoop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
/*!
Expand Down

0 comments on commit 6ce3ac9

Please sign in to comment.