LMMS
Loading...
Searching...
No Matches
SFZDebug.cpp
Go to the documentation of this file.
1/*************************************************************************************
2 * Original code copyright (C) 2012 Steve Folta
3 * Converted to Juce module (C) 2016 Leo Olivers
4 * Forked from https://github.com/stevefolta/SFZero
5 * For license info please see the LICENSE file distributed with this source code
6 *************************************************************************************/
7#include "SFZDebug.h"
8#include <stdarg.h>
9
10namespace sfzero
11{
12
13#ifdef DEBUG
14
15void dbgprintf(const char *msg, ...)
16{
17 va_list args;
18
19 va_start(args, msg);
20
21 char output[256];
22 vsnprintf(output, 256, msg, args);
23
24 va_end(args);
25}
26
27#endif // DEBUG
28
29}
const char * msg
Definition missing_descriptor.c:20
Definition SFZDebug.cpp:11