mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 14:17:21 +01:00
Fix "Could create output file" error message
In the log output, the error would look like: [ERROR]: Export initialization failed: Exception thrown by AudioGrapher::SndfileWriter<short>: Could create output file (.../export/something.wav) Add the missing negation. But it would perhaps be better phrase the message differently so it not just hints so strongly towards a file system error preventing file creation. Perhaps something like "Failed to initialize sound export to %s"?
This commit is contained in:
parent
6fba7f6308
commit
d2fa78ba95
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class SndfileWriter
|
|||
{
|
||||
if (SF_ERR_NO_ERROR != SndfileHandle::error ()) {
|
||||
throw Exception (*this, boost::str (boost::format
|
||||
("Could create output file (%1%)") % path));
|
||||
("Could not create output file (%1%)") % path));
|
||||
}
|
||||
samples_written = 0;
|
||||
add_supported_flag (ProcessContext<T>::EndOfInput);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue