summaryrefslogtreecommitdiff
path: root/libs/ardour/session_export.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
commit4c509656223d3ed1f0fab504cb483090d38972f9 (patch)
tree540f207b81f957fa78101d67da3094ff1e1f9456 /libs/ardour/session_export.cc
parent5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (diff)
fix compose mess, and a number of 64 bit printf specs
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_export.cc')
-rw-r--r--libs/ardour/session_export.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc
index a17dde6979..a80ee69e56 100644
--- a/libs/ardour/session_export.cc
+++ b/libs/ardour/session_export.cc
@@ -201,7 +201,7 @@ AudioExportSpecification::prepare (jack_nframes_t blocksize, jack_nframes_t frat
if ((out = sf_open (path.c_str(), SFM_WRITE, &sfinfo)) == 0) {
sf_error_str (0, errbuf, sizeof (errbuf) - 1);
- error << compose(_("Export: cannot open output file \"%1\" (%2)"), path, errbuf) << endmsg;
+ error << string_compose(_("Export: cannot open output file \"%1\" (%2)"), path, errbuf) << endmsg;
return -1;
}
@@ -211,7 +211,7 @@ AudioExportSpecification::prepare (jack_nframes_t blocksize, jack_nframes_t frat
int err;
if ((src_state = src_new (src_quality, channels, &err)) == 0) {
- error << compose (_("cannot initialize sample rate conversion: %1"), src_strerror (err)) << endmsg;
+ error << string_compose (_("cannot initialize sample rate conversion: %1"), src_strerror (err)) << endmsg;
return -1;
}
@@ -313,7 +313,7 @@ AudioExportSpecification::process (jack_nframes_t nframes)
++cnt;
if ((err = src_process (src_state, &src_data)) != 0) {
- error << compose (_("an error occured during sample rate conversion: %1"),
+ error << string_compose (_("an error occured during sample rate conversion: %1"),
src_strerror (err))
<< endmsg;
return -1;
@@ -415,7 +415,7 @@ AudioExportSpecification::process (jack_nframes_t nframes)
if ((jack_nframes_t) written != to_write) {
sf_error_str (out, errbuf, sizeof (errbuf) - 1);
- error << compose(_("Export: could not write data to output file (%1)"), errbuf) << endmsg;
+ error << string_compose(_("Export: could not write data to output file (%1)"), errbuf) << endmsg;
return -1;
}
@@ -497,7 +497,7 @@ Session::prepare_to_export (AudioExportSpecification& spec)
LockMonitor lm (diskstream_lock, __LINE__, __FILE__);
for (DiskStreamList::iterator i = diskstreams.begin(); i != diskstreams.end(); ++i) {
if ((*i)-> seek (spec.start_frame, true)) {
- error << compose (_("%1: cannot seek to %2 for export"),
+ error << string_compose (_("%1: cannot seek to %2 for export"),
(*i)->name(), spec.start_frame)
<< endmsg;
goto out;