#include "audio_content.h"
-#include "compose.hpp"
#include "config.h"
#include "exceptions.h"
#include "film.h"
#include "frame_rate_change.h"
+#include <dcp/compose.h>
#include <dcp/raw_convert.h>
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
{
string s = "audio: ";
for (auto i: streams()) {
- s += String::compose ("stream channels %1 rate %2 ", i->channels(), i->frame_rate());
+ s += dcp::compose ("stream channels %1 rate %2 ", i->channels(), i->frame_rate());
}
return s;
}
if (not_resampled && resampled) {
- return String::compose (_("Some audio will be resampled to %1Hz"), resampled_frame_rate(film));
+ return dcp::compose (_("Some audio will be resampled to %1Hz"), resampled_frame_rate(film));
}
if (!not_resampled && resampled) {
if (same) {
- return String::compose (_("Audio will be resampled from %1Hz to %2Hz"), common_frame_rate.get(), resampled_frame_rate(film));
+ return dcp::compose (_("Audio will be resampled from %1Hz to %2Hz"), common_frame_rate.get(), resampled_frame_rate(film));
} else {
- return String::compose (_("Audio will be resampled to %1Hz"), resampled_frame_rate(film));
+ return dcp::compose (_("Audio will be resampled to %1Hz"), resampled_frame_rate(film));
}
}
int stream = 1;
for (auto i: streams()) {
for (int j = 0; j < i->channels(); ++j) {
- n.push_back (NamedChannel(String::compose ("%1:%2", stream, j + 1), index++));
+ n.push_back (NamedChannel(dcp::compose ("%1:%2", stream, j + 1), index++));
}
++stream;
}