Handle mutiple export files with the same extension but different format.
authorSakari Bergen <sakari.bergen@beatwaves.net>
Sun, 17 Mar 2013 10:32:48 +0000 (12:32 +0200)
committerSakari Bergen <sakari.bergen@beatwaves.net>
Sun, 17 Mar 2013 10:32:48 +0000 (12:32 +0200)
commit8cbb9727e959a744057de387a293aecdce09a62c
treec7f6fb66b7057dff243ee68364d6778941817a53
parent2d081e43e197851636c0da3ed46a7b0be97120b0
Handle mutiple export files with the same extension but different format.

If multiple filenames have the same extension, append the format name
to the filename. This still requires a bit of extra logic to be optimal,
as the format name will now be added in some situations where it is not
needed. However, this is better than producing a broken file...
libs/ardour/ardour/export_filename.h
libs/ardour/ardour/export_format_specification.h
libs/ardour/ardour/export_handler.h
libs/ardour/export_filename.cc
libs/ardour/export_format_specification.cc
libs/ardour/export_graph_builder.cc
libs/ardour/export_handler.cc