diff options
Diffstat (limited to 'command')
-rw-r--r-- | command/audio.cpp | 4 | ||||
-rw-r--r-- | command/markad-standalone.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/command/audio.cpp b/command/audio.cpp index 1b8ca5c..0a9c133 100644 --- a/command/audio.cpp +++ b/command/audio.cpp @@ -62,11 +62,11 @@ MarkAdMark *cMarkAdAudio::Process(int FrameNumber, int FrameNumberNext) { if (macontext->Audio.Info.Channels>2) { - setmark(MT_CHANNELSTART,FrameNumberNext,macontext->Audio.Info.Channels,channels); + setmark(MT_CHANNELSTART,FrameNumberNext,channels,macontext->Audio.Info.Channels); } else { - setmark(MT_CHANNELSTOP,framelast,macontext->Audio.Info.Channels,channels); + setmark(MT_CHANNELSTOP,framelast,channels,macontext->Audio.Info.Channels); } } diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp index 1320c3b..d4c6e22 100644 --- a/command/markad-standalone.cpp +++ b/command/markad-standalone.cpp @@ -26,6 +26,7 @@ #include <execinfo.h> #include <mntent.h> #include <utime.h> +#include <math.h> #include <errno.h> #include "markad-standalone.h" |