Add RTENTRY macro for STOAT testing
This commit is contained in:
@@ -45,6 +45,12 @@
|
|||||||
# define R__
|
# define R__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# define RTENTRY__ __attribute__((annotate("realtime")))
|
||||||
|
#else
|
||||||
|
# define RTENTRY__
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# include <process.h>
|
# include <process.h>
|
||||||
|
|||||||
@@ -384,12 +384,10 @@ R3StretcherImpl::getSamplesRequired() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//!!! __attribute__((annotate("realtime")))
|
RTENTRY__
|
||||||
void
|
void
|
||||||
R3StretcherImpl::process(const float *const *input, size_t samples, bool final)
|
R3StretcherImpl::process(const float *const *input, size_t samples, bool final)
|
||||||
{
|
{
|
||||||
//!!! todo: final
|
|
||||||
|
|
||||||
if (m_mode == ProcessMode::Finished) {
|
if (m_mode == ProcessMode::Finished) {
|
||||||
m_parameters.logger("R3StretcherImpl::process: Cannot process again after final chunk");
|
m_parameters.logger("R3StretcherImpl::process: Cannot process again after final chunk");
|
||||||
return;
|
return;
|
||||||
@@ -432,7 +430,7 @@ R3StretcherImpl::process(const float *const *input, size_t samples, bool final)
|
|||||||
consume();
|
consume();
|
||||||
}
|
}
|
||||||
|
|
||||||
//!!! __attribute__((annotate("realtime")))
|
RTENTRY__
|
||||||
int
|
int
|
||||||
R3StretcherImpl::available() const
|
R3StretcherImpl::available() const
|
||||||
{
|
{
|
||||||
@@ -444,7 +442,7 @@ R3StretcherImpl::available() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//!!! __attribute__((annotate("realtime")))
|
RTENTRY__
|
||||||
size_t
|
size_t
|
||||||
R3StretcherImpl::retrieve(float *const *output, size_t samples) const
|
R3StretcherImpl::retrieve(float *const *output, size_t samples) const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user