Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b5903214
Commit
b5903214
authored
Sep 08, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluidsynth: Use Wine debugging facility for traces.
parent
f768d6b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
fluid_sys.c
libs/fluidsynth/src/utils/fluid_sys.c
+1
-1
fluidsynth_priv.h
libs/fluidsynth/src/utils/fluidsynth_priv.h
+12
-3
No files found.
libs/fluidsynth/src/utils/fluid_sys.c
View file @
b5903214
...
...
@@ -640,7 +640,7 @@ void fluid_profiling_print(void)
{
int
i
;
printf
(
"fluid_profiling_print
\n
"
);
FLUID_LOG
(
FLUID_INFO
,
"fluid_profiling_print
\n
"
);
FLUID_LOG
(
FLUID_INFO
,
"Estimated times: min/avg/max (micro seconds)"
);
...
...
libs/fluidsynth/src/utils/fluidsynth_priv.h
View file @
b5903214
...
...
@@ -51,6 +51,10 @@
#include "fluidsynth.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
fluidsynth
);
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
@@ -275,8 +279,8 @@ do { strncpy(_dst,_src,_n-1); \
#define FLUID_PRINTF post
#define FLUID_FLUSH()
#else
#define FLUID_PRINTF
printf
#define FLUID_FLUSH()
fflush(stdout)
#define FLUID_PRINTF
WINE_TRACE
#define FLUID_FLUSH()
#endif
/* People who want to reduce the size of the may do this by entirely
...
...
@@ -287,7 +291,12 @@ do { strncpy(_dst,_src,_n-1); \
#if 0
#define FLUID_LOG (void)sizeof
#else
#define FLUID_LOG fluid_log
#define WINE_FLUID_DBG WINE_TRACE
#define WINE_FLUID_INFO WINE_TRACE
#define WINE_FLUID_WARN WINE_WARN
#define WINE_FLUID_ERR WINE_ERR
#define WINE_FLUID_PANIC WINE_ERR
#define FLUID_LOG( x, msg, ... ) do { WINE_ ## x( msg, ## __VA_ARGS__ ); WINE_ ## x( "\n" ); } while (0)
#endif
#if defined(DEBUG) && !defined(NDEBUG)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment