Mirror of Ardour Source Code
Find a file
Robin Gareus bfe92c5b4f prevent concurrent peak-file init.
When embedding external files. the same file is queued twice for peak-file
generation. Since there are two  peak_thread_work threas in SourceFactory,
this can lead to inconsistent/missing peaks.


TODO: fix the actual cause, duplicate call to  setup_peakfile():

#0  ARDOUR::SourceFactory::setup_peakfile (s=..., async=true) at ../libs/ardour/source_factory.cc:116
#1  0x00007ffff6c2552f in ARDOUR::SourceFactory::createExternal (type=..., s=..., path="/tmp/CB_bass_Track08.wav", chn=0, flags=(unknown: 0), announce=true, defer_peaks=true)
    at ../libs/ardour/source_factory.cc:254
#2  0x0000000000886f50 in Editor::embed_sndfiles (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, multifile=false, check_sample_rate=@0x7fffffffc2df: true,
        disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, pos=@0x7fffffffc458: -1, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:630
#3  0x0000000000885c7c in Editor::do_embed (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, import_as=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack,
        pos=@0x7fffffffc458: -1, instrument=...) at ../gtk2_ardour/editor_audio_import.cc:414
#4  0x0000000000e93aeb in SoundFileOmega::do_something (this=0x490f530, action=-5) at ../gtk2_ardour/sfdb_ui.cc:1983



#0  ARDOUR::SourceFactory::setup_peakfile (s=..., async=true) at ../libs/ardour/source_factory.cc:116
#1  0x0000000000888954 in Editor::add_sources (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, sources=std::vector of length 1, capacity 1 = {...},
        pos=@0x7fffffffc458: 0, disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:883
#2  0x0000000000887131 in Editor::embed_sndfiles (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, multifile=false, check_sample_rate=@0x7fffffffc2df: true,
        disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, pos=@0x7fffffffc458: 0, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:653
#3  0x0000000000885c7c in Editor::do_embed (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, import_as=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack,
        pos=@0x7fffffffc458: 0, instrument=...) at ../gtk2_ardour/editor_audio_import.cc:414
#4  0x0000000000e93aeb in SoundFileOmega::do_something (this=0x490f530, action=-5) at ../gtk2_ardour/sfdb_ui.cc:1983
2015-11-24 18:58:11 +01:00
cfgtool remove tabs from python code 2015-07-05 14:50:13 +02:00
doc update Doxyfile 2015-10-01 21:57:27 +02:00
export Remove Soundcloud export format presets 2014-05-23 19:05:33 +01:00
gtk2_ardour prefer recently used states. 2015-11-23 22:45:16 +01:00
headless NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
icons Add our various '.in' files (to be processed by msvc32-fixup.pl) 2014-08-04 09:00:11 +01:00
libs prevent concurrent peak-file init. 2015-11-24 18:58:11 +01:00
mcp add new (unfinished) device info file for FaderPort 2015-11-18 17:54:47 -05:00
midi_maps add Yamaha KX25 midi-map from Gerard Aberkrom 2015-11-20 11:37:42 +01:00
msvc_extra_headers For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
MSVCardour3 MSVC - add support for newly introduced gtk2_ardour/tooltips.cc and tooltips.h 2015-09-18 10:29:31 +01:00
MSVCMixbus3 When building with MSVC make sure any backends / panners etc get copied to the correct target folder 2015-01-12 14:43:22 +00:00
MSVCvst_scan Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side) 2015-06-09 13:18:42 +01:00
patches patches to fix notebook tab tearoff on DnD. 2015-07-20 16:56:15 -04:00
patchfiles New MIDNAM file from e.j.vd.hooven@gmail.com 2015-01-05 10:19:53 -05:00
templates finish unfinished work at basing all install paths on the program name 2014-04-28 21:11:08 -04:00
tools Implement translation of AppData file. 2015-11-22 15:32:07 +01:00
vst globally remove all trailing whitespace from ardour code base. 2015-10-04 14:51:05 -04:00
.dir-locals.el Only use .dir-locals.el to set tab indentation (or not, for python). 2011-04-06 16:33:43 +00:00
.gitignore git ignore appdata translation(s) 2015-11-23 22:52:47 +01:00
ardour-3.ttl
ardour.1 add -a option to ardour.1 manpage 2013-03-12 13:32:56 -04:00
ardour.1.es
ardour.1.fr
ardour.1.ru
COPYING update GPL (formatting and update FSF address) 2014-10-26 02:24:35 +01:00
foo.cc more pre-commit testing 2015-05-09 13:08:56 -04:00
instant.xml
instant.xml.sae
Makefile (FULL) not-yet-complete JACK session management patch (TODO: get program name, vary snapshot name, arrange quit when necessary) 2010-04-02 18:54:33 +00:00
msvc32-fixup.pl Following my last change we can now give 'MSVCArdour3.vsprops.in' its correct name 2015-01-12 14:47:44 +00:00
PACKAGER_README
README another trivial change to test hooks 2013-03-13 14:35:39 -04:00
system_config update system config 2015-07-21 01:12:39 +02:00
testfile.flac
testfile.ogg
TRANSLATORS correct dir spelling 2011-11-21 23:21:05 +00:00
waf fix stash-mess for ./waf with a new identical version 2014-12-17 14:04:07 -05:00
wscript update configure time tests and code to use libsndfile 1.0.26's version of the R64 auto-downgrade-to-WAV code 2015-11-24 08:45:10 -05:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html