summaryrefslogtreecommitdiff
path: root/libs/ardour/import.cc
AgeCommit message (Collapse)Author
2020-05-19No implicit session save when importing files (backend)Robin Gareus
2020-04-17NOOP: newline removalPaul Davis
2020-03-23fix error in multiple calls to SourceFactory::createWritable()Paul Davis
removal of tape tracks removed an intermediate argument in the argument list; presence of default args for the last two arguments and implicit conversion from int->bool prevented the compiler from complaining about any existing calls. This supplements/extends a54b000a70
2020-03-23Fix file import (typo in a4d7b45)Robin Gareus
2020-03-17remove destructive/tape mode tracksPaul Davis
2019-12-06Implement mp3 import, using minimp3Robin Gareus
2019-12-06Flatten nested try/catch clausesRobin Gareus
This also consistently throws a failed_constructor() when instantiating SoundFile fails, regardless of the actual exception
2019-11-02rename all Evoral source from .(hpp|cpp)$ to .(h|cc)Paul Davis
2019-08-03Update libardour GPL boilerplate and (C) from git logRobin Gareus
2019-08-01(Source List) Clean up the natural_position implementation (libardour part).Ben Loftis
2018-12-07Fix progress report when resampling to fixed-point on importRobin Gareus
2018-12-07Fix importing to a fixed-point format with resamplingRobin Gareus
ResampledImportableSource::read() returns audio-frames; multiplication by number of channels read beyond the buffer.
2017-10-26switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>Paul Davis
2017-09-24convert codebase to use Temporal for various time typesPaul Davis
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18fully remove diskstream codePaul Davis
2016-12-14use SMF track or instrument names in imported MIDI track names, if requestedPaul Davis
2016-12-03Fix event type and parameter type confusionDavid Robillard
I'm not sure if this is really the best way to do event types (should it just be a completely static enum in evoral, or completely dynamic and provided by the type map, or a mix like currently?), but previously the event type was frequently set to either total garbage, or parameter types, which are a different thing. This fixes all those cases, and makes Evoral::EventType an enum so the compiler will warn about implicit conversions from int.
2016-10-05Add option to separate type-0 SMF channels to tracksRobin Gareus
2016-10-05split type-0 SMF files by channel on importRobin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-06-17fix upsampling import of X-channel files where buffersize % X != 0Robin Gareus
2016-05-21const'ness -- just becauseRobin Gareus
2015-10-05use quotes for in-tree pbd/glib wrapper includeRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-17use pbd's gstdio compatibility wrapperRobin Gareus
2015-04-20remove _file_path member from Evoral::SMFPaul Davis
2015-01-07MusicalTime => Beats.David Robillard
2014-12-28Demote message about empty MIDI tracks to info.David Robillard
2014-12-17Fix various MIDI locking issues.David Robillard
Attempt to make mistakes much less likely in the future by statically requiring caller to pass scoped locks where necessary.
2014-11-22Wrap MusicalTime in a class.David Robillard
This lets us get a more explicit handle on time conversions, and is the main step towards using actual beat:tick time and getting away from floating point precision problems.
2014-11-18Gracefully avoid importing audio that somehow has 0 channels.David Robillard
2014-11-18files should have at least one channel.Robin Gareus
2014-10-15when cancelling an import, call DropReferences so that the Session forgets ↵Paul Davis
about the new sources. Not doing this leaves the sources in the session list and then the session fails to open on next load because the files are not there. Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.
2014-09-28partial fix for #5973 (multi-track midi file import)Robin Gareus
2014-07-01merge with master.Paul Davis
Manually resolved conflicts in import.cc and session.cc
2014-06-15another edge-case, don't crash on invalid files with zero channelsRobin Gareus
2014-06-02substantive changes to the logic and safety for naming of (audio/MIDI) ↵Paul Davis
sources, especially when created via import
2014-05-29back port 6576105 from cairocanvas as fix for data loss/file deletionPaul Davis
2014-05-29fix data loss/file deletion caused by mistaken used of ↵Paul Davis
Session::source_by_path() to check if an AUDIO filesource with a given path already exists. ::source_by_path() was written for MIDI files only. I fixed the call and renamed the two similar functions (one for audio and one for MIDI) to make it more clear.
2013-08-09'libs/ardour' - If the platform is Windows, prevent lengthy caching by ↵John Emmas
flushing imported files on completion of the import
2013-07-15use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in ↵Paul Davis
several files
2013-07-11Fix some usage of non-standard types for portabilityPaul Davis
2013-03-30fix up some confusion with filesources' _origin and _file_is_new members. if ↵Paul Davis
_origin is set, it means that the file is "external" to the session (aka "embedded") and for some purposes this is more significant than _file_is_new. rename SourceFactory::createReadable() to ::createExternal() to more clearly indicate its purpose; remove never-supplied "origin" argument from SourceFactor::createWritable(). Fixes problems caused by 864ce8f0
2013-01-21Fix whitespace.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09minor translation fixes/typos from edogawaPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-16do NOT mark imported MIDI files as un-writable - all MIDI files are subject ↵Paul Davis
to rewriting at any time git-svn-id: svn://localhost/ardour2/branches/3.0@13046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string instead of PBD::sys::path in pbd/search_path.h, ↵Tim Mayberry
pbd/file_utils.h and ardour/session_dir.h git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Rename import_audiofiles -> import_files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf