projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
expand tabs in reaonablesynth code
[ardour.git]
/
libs
/
ardour
/
reverse.cc
diff --git
a/libs/ardour/reverse.cc
b/libs/ardour/reverse.cc
index 675ccb4c522b4c3fbbfcbbe6d4514e175c8c5678..06fafb0ca45c2ff97185c73f09f3afd0157a0b9a 100644
(file)
--- a/
libs/ardour/reverse.cc
+++ b/
libs/ardour/reverse.cc
@@
-19,19
+19,16
@@
#include <algorithm>
#include <algorithm>
-#include "pbd/basename.h"
-
-#include "ardour/types.h"
-#include "ardour/reverse.h"
-#include "ardour/audiofilesource.h"
-#include "ardour/session.h"
#include "ardour/audioregion.h"
#include "ardour/audioregion.h"
-
-#include "i18n.h"
+#include "ardour/audiosource.h"
+#include "ardour/reverse.h"
+#include "ardour/types.h"
using namespace std;
using namespace ARDOUR;
using namespace std;
using namespace ARDOUR;
+namespace ARDOUR { class Progress; class Session; }
+
Reverse::Reverse (Session& s)
: Filter (s)
{
Reverse::Reverse (Session& s)
: Filter (s)
{
@@
-42,7
+39,7
@@
Reverse::~Reverse ()
}
int
}
int
-Reverse::run (boost::shared_ptr<Region> r, Progress*
progress
)
+Reverse::run (boost::shared_ptr<Region> r, Progress*)
{
SourceList nsrcs;
SourceList::iterator si;
{
SourceList nsrcs;
SourceList::iterator si;
@@
-90,7
+87,7
@@
Reverse::run (boost::shared_ptr<Region> r, Progress* progress)
/* swap memory order */
/* swap memory order */
- for (
nframes
_t i = 0; i < to_read/2; ++i) {
+ for (
framecnt
_t i = 0; i < to_read/2; ++i) {
swap (buf[i],buf[to_read-1-i]);
}
swap (buf[i],buf[to_read-1-i]);
}