Commit ae239f23 authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Comments and style

parent 60d4b9bc
...@@ -114,10 +114,12 @@ public: ...@@ -114,10 +114,12 @@ public:
* \param bZeroinit Samples mit Nullen initialisieren? * \param bZeroinit Samples mit Nullen initialisieren?
*/ */
void Init( int iChannels, int iLength, bool bZeroinit ); void Init( int iChannels, int iLength, bool bZeroinit );
//! Legacy Init with small caps style
inline void init( int iChannels, int iLength, bool bZeroinit ) inline void init( int iChannels, int iLength, bool bZeroinit )
{ {
return Init( iChannels, iLength, bZeroinit ); return Init( iChannels, iLength, bZeroinit );
} };
void Load( const std::string& sFilePath ); void Load( const std::string& sFilePath );
void Load( const std::string& sFilePath, double& dSampleRate ); void Load( const std::string& sFilePath, double& dSampleRate );
......
...@@ -215,6 +215,6 @@ std::string convertTimeToHumanReadableString(double dSeconds) { ...@@ -215,6 +215,6 @@ std::string convertTimeToHumanReadableString(double dSeconds) {
return buf; return buf;
} }
*/ */
sprintf(buf, "%0.3f s ", dSeconds); sprintf(buf, "%0.3f s", dSeconds);
return std::string(buf); return std::string(buf);
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment