mirror of
https://github.com/thestk/stk
synced 2026-02-04 08:36:16 +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 ); };
|
void normalize( StkFloat peak ) { FileWvIn::normalize( peak ); };
|
||||||
|
|
||||||
//! Return the file size in sample frames.
|
//! 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).
|
//! Return the input file sample rate in Hz (not the data read rate).
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
Reference in New Issue
Block a user