Fix in FileLoop::getSize() to return file size in samples, rather than the chunk size if chunking.(GPS)

This commit is contained in:
Gary Scavone
2018-04-27 13:21:14 +02:00
parent 11d1dc54f3
commit 6ce3ac9e10

View File

@@ -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).
/*!