@@ -45,48 +45,46 @@ class MemoryLoop : public FileLoop {
4545 /* !
4646 This method is provided to be compatible with the FileWvIn
4747 */
48- virtual void openFile ( std::string fileName, bool raw = true , bool doNormalize = true , bool doInt2FloatScaling = true );
48+ virtual void openFile ( std::string fileName, bool raw = true , bool doNormalize = true , bool doInt2FloatScaling = true ) override ;
4949
5050 // ! Open the specified file and load its data.
5151 /* !
5252 This method is provided to be compatible with the FileWvIn
5353 */
54- virtual void openFile ( const char * fileName, bool raw = true , bool doNormalize = true , bool doInt2FloatScaling = true );
54+ virtual void openFile ( const char * fileName, bool raw = true , bool doNormalize = true , bool doInt2FloatScaling = true ) ;
5555
5656 // ! Add a phase offset to the current read pointer.
5757 /* !
5858 This function determines a time offset based on the file
5959 size and the current Stk::sampleRate. The \e angle value
6060 is a multiple of file size.
6161 */
62- void addPhaseOffset ( StkFloat angle );
62+ void addPhaseOffset ( StkFloat angle ) override ;
6363
6464 // ! Close the actual file
6565 /* !
6666 This method is provided to be compatible with the FileWvIn
6767 */
68- void closeFile (void );
68+ void closeFile (void ) override ;
6969
7070 // ! Query whether a file is open.
7171 /* !
7272 This does not have any importance since the data is available in the memory
7373 anyhow.
7474 */
75- bool isOpen (void );
75+ bool isOpen (void ) override ;
7676
7777 // ! Return the input file sample rate in Hz (not the data read rate).
7878 /* !
7979 STK RAW files have a sample rate of 22050 Hz
8080 */
81- StkFloat getFileRate ( void );
82-
81+ virtual StkFloat getFileRate ( void ) const override ;
8382
8483protected:
8584 virtual void fileRead ( StkFrames& buffer, unsigned long startFrame, bool doNormalize ) override ;
8685 virtual void open (bool doNormalize=true ,bool doInt2FloatScaling=true );
8786
8887 MemoryFS memoryFS;
89-
9088 StkFrames firstFrame_;
9189 StkFloat phaseOffset_;
9290
0 commit comments