* Further work on handling distinct analysis and synthesis window and FFT sizes

This commit is contained in:
Chris Cannam
2010-05-25 21:49:05 +01:00
parent 3ed58ba356
commit 49cf25d724
7 changed files with 246 additions and 33 deletions

View File

@@ -51,6 +51,16 @@ inline void v_zero_channels(T *const R__ *const R__ ptr,
}
}
template<typename T>
inline void v_set(T *const R__ ptr,
const T value,
const int count)
{
for (int i = 0; i < count; ++i) {
ptr[i] = value;
}
}
template<typename T>
inline void v_copy(T *const R__ dst,
const T *const R__ src,