mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
Fix in FileLoop::getSize() to return file size in samples, rather than the chunk size if chunking.(GPS)
This commit is contained in:
@@ -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).
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user