mirror of
https://github.com/thestk/stk
synced 2026-02-05 08:56:16 +00:00
explicitly cast return value in frames() to match return type
This commit is contained in:
@@ -376,7 +376,7 @@ public:
|
|||||||
unsigned int channels( void ) const { return nChannels_; };
|
unsigned int channels( void ) const { return nChannels_; };
|
||||||
|
|
||||||
//! Return the number of sample frames represented by the data.
|
//! Return the number of sample frames represented by the data.
|
||||||
unsigned int frames( void ) const { return nFrames_; };
|
unsigned int frames( void ) const { return (unsigned int)nFrames_; };
|
||||||
|
|
||||||
//! Set the sample rate associated with the StkFrames data.
|
//! Set the sample rate associated with the StkFrames data.
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
Reference in New Issue
Block a user