projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wouldn't it be nice if plugin presets had a description/comment?
[ardour.git]
/
libs
/
ardour
/
ebur128_analysis.cc
diff --git
a/libs/ardour/ebur128_analysis.cc
b/libs/ardour/ebur128_analysis.cc
index 3788e0207ebde7a248d4183c060af2e27ccfb4e7..1caf7a71c2e2cf7afe3bbb56a829c4c74d81a3db 100644
(file)
--- a/
libs/ardour/ebur128_analysis.cc
+++ b/
libs/ardour/ebur128_analysis.cc
@@
-22,7
+22,7
@@
#include "ardour/ebur128_analysis.h"
#include "ardour/ebur128_analysis.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace Vamp;
using namespace ARDOUR;
using namespace Vamp;
using namespace ARDOUR;
@@
-46,8
+46,8
@@
EBUr128Analysis::run (Readable* src)
{
int ret = -1;
bool done = false;
{
int ret = -1;
bool done = false;
-
fram
ecnt_t len = src->readable_length();
-
fram
epos_t pos = 0;
+
sampl
ecnt_t len = src->readable_length();
+
sampl
epos_t pos = 0;
uint32_t n_channels = src->n_channels();
Plugin::FeatureSet features;
uint32_t n_channels = src->n_channels();
Plugin::FeatureSet features;
@@
-62,8
+62,8
@@
EBUr128Analysis::run (Readable* src)
}
while (!done) {
}
while (!done) {
-
fram
ecnt_t to_read;
- to_read = min ((len - pos), (
fram
ecnt_t) bufsize);
+
sampl
ecnt_t to_read;
+ to_read = min ((len - pos), (
sampl
ecnt_t) bufsize);
for (uint32_t c = 0; c < n_channels; ++c) {
if (src->read (bufs[c], pos, to_read, c) != to_read) {
for (uint32_t c = 0; c < n_channels; ++c) {
if (src->read (bufs[c], pos, to_read, c) != to_read) {