MixHelpers: added isSilent()

A simple function for testing whether a given sample buffer is silent.
Maybe we have to adjust/lower the threshold.
This commit is contained in:
Tobias Doerffel
2014-02-06 22:55:41 +01:00
parent f01c90b6a5
commit be5e17c29c
2 changed files with 20 additions and 0 deletions

View File

@@ -30,6 +30,8 @@
namespace MixHelpers
{
bool isSilent( const sampleFrame* src, int frames );
/*! \brief Add samples from src to dst */
void add( sampleFrame* dst, const sampleFrame* src, int frames );