prepare for clang static analysis of RT-functions:

see: https://github.com/fundamental/stoat
eventually more functions should be annotated, and
a common header file should be used to
  #define REALTIME __attribute__((annotate("realtime")))
This commit is contained in:
Robin Gareus 2014-08-31 07:50:17 +02:00
parent 026c71331e
commit 7d3f0bfd75

View File

@ -170,6 +170,9 @@ AudioEngine::buffer_size_change (pframes_t bufsiz)
/** Method called by our ::process_thread when there is work to be done.
* @param nframes Number of frames to process.
*/
#ifdef __clang__
__attribute__((annotate("realtime")))
#endif
int
AudioEngine::process_callback (pframes_t nframes)
{