diff options
author | Owen Williams <owilliams@mixxx.org> | 2014-01-10 23:33:53 -0500 |
---|---|---|
committer | Owen Williams <owilliams@mixxx.org> | 2014-01-10 23:34:29 -0500 |
commit | cf1153ddfc75b1fda9b29789f4bc003292693a00 (patch) | |
tree | c48eb2945288c9d78573ef1714742de4fb554e6a /lib | |
parent | 5fc5c2b2d0b9d61e975589cfa39e5d1b022f4439 (diff) |
Inline the update_monitor functions since they get called for every sample.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xwax/timecoder.c | 2 | ||||
-rwxr-xr-x | lib/xwax/timecoder_win32.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/xwax/timecoder.c b/lib/xwax/timecoder.c index 082af25d87..7430dbc7c3 100644 --- a/lib/xwax/timecoder.c +++ b/lib/xwax/timecoder.c @@ -392,7 +392,7 @@ static void detect_zero_crossing(struct timecoder_channel *ch, * Plot the given sample value in the x-y monitor */ -static void update_monitor(struct timecoder *tc, signed int x, signed int y) +inline static void update_monitor(struct timecoder *tc, signed int x, signed int y) { int px, py, size, ref; diff --git a/lib/xwax/timecoder_win32.cpp b/lib/xwax/timecoder_win32.cpp index 18910382f5..a197528080 100755 --- a/lib/xwax/timecoder_win32.cpp +++ b/lib/xwax/timecoder_win32.cpp @@ -397,7 +397,7 @@ static void detect_zero_crossing(struct timecoder_channel *ch, * Plot the given sample value in the x-y monitor */ -static void update_monitor(struct timecoder *tc, signed int x, signed int y) +inline static void update_monitor(struct timecoder *tc, signed int x, signed int y) { int px, py, size, ref; |