summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
AgeCommit message (Collapse)Author
2008-11-11new region constructor for use by audiofilters (almost does a pure copy of ↵Paul Davis
the region, but sets start & sync_position appropriately, and uses new sources); fix up reverse bugs introduced in the last 36hrs; fix up setting of sync_position after split and so forth git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19Fix a bunch of stupid warnings.David Robillard
Q: What's a lot harder than initializing a variable? A: Fixing future non-deterministic bugs that would have been deterministic if you initialized the damn variable :) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-18Fix possible double allocation of SF_BROADCAST_INFOSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-22fix up generation of BWF field contents to avoid truncation and use correct datePaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-11Fix compilation with GCC 4.3 (at least with SYSLIBS=1).David Robillard
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27don't popup import progress window until we give import a chance to fail ↵Paul Davis
first; sndfile doesn't print open() errors if HAVE_COREAUDIO is set since we fall back to CoreAudio then git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27fix up BWF creation; make CoreAudioSource work; add CAImportable; refactor ↵Paul Davis
SourceFactory to try sndfile first, CoreAudio second git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-17maybe fix crash related to thread-private buffersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-12per-thread interleave buffers for SndFileSource, not per-source.Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11try to fix async peaks issue; fix crasher caused by previous lock changes in ↵Paul Davis
AudioSource; unselect everything after Apply; save tags correctly (?) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-10WARNING WARNING WARNING >>>> DEEP CHANGES >>> EXPERIMENTAL CODE .... fixes ↵Paul Davis
to make region(views) pick up peakfile data asynchronously, like they used to in 0.99 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2444 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-02lots of GUI tweaks for the import dialogPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-16support for 16 bit native filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06modified fix from carl for region copy-moves-original-to-start bug; change ↵Paul Davis
verbose canvas cursor color to be more distinct and readable; fix naming issues with imported files containing ':'; make sure [N] channels count shows up for whole files in region list; fix #1575, a subtle and nasty bug; improve positioning of verbose canvas cursor for ruler drags (but has a wierd side effect git-svn-id: svn://localhost/ardour2/trunk@1675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-15edit groups tab gets headers (carl); use sampo's SSE find_peaks code; fix ↵Paul Davis
build for find_peaks on x86; don't duplicate sources when embedding; use Glib::ustring for all source-related strings; fixup plugin UI automation buttons git-svn-id: svn://localhost/ardour2/trunk@1595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-14no more peak building thread; don't print config var stores, but it possible ↵Paul Davis
to do it again without another complete recompile git-svn-id: svn://localhost/ardour2/trunk@1588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-15remove debug output from sndfilesourcePaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-15fix reverse play buffer refilling; turn on Blink signal againPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29small change to region creation for make-mono-regions; add untested ↵Paul Davis
short_path(); fix double-redraws when canvas zoom/position changes git-svn-id: svn://localhost/ardour2/trunk@1396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-25fix import/embed of multichannel audiofiles, as per #1433Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-28fixed peak waveform issue introduced by the ftruncate preallocation of ↵Jesse Chappell
peakfile. also prevented that ftruncate from actually reducing the size of the peakfile in the case of destructive tracks. changed the sources PeaksReady semantics back to emitting only on peak completion on normal tracks. truncate peakfiles back to natural size on finish to prevent wasting disk space on shorter takes. git-svn-id: svn://localhost/ardour2/trunk@1250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-13display timecode from BWF etc in SF browser; accels for windows now work ↵Paul Davis
(misspelling in ardour.bindings); use hide icon in automation tracks git-svn-id: svn://localhost/ardour2/trunk@1125 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-09first pass on track mode switch; fixes to dangling region refs after ↵Paul Davis
capture; destroy region menu item removed; small fix to SConstruct for missing C++ case; playlist selection mechanism modified ; new Selection operation added (Add); handle crashing situation with align style change handling caused by recursion git-svn-id: svn://localhost/ardour2/trunk@1099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-07fix incorrect return type for SndFileSource::last_capture_start_frame() in ↵Paul Davis
the non-destructive case; fix compiler warnings for utils.cc git-svn-id: svn://localhost/ardour2/trunk@1084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-03new tape tracks ended up with non-destructive sources, fixedPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1067 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-03Fixed snapshot dialog annoyance.Taybin Rutkin
Hilight current snapshot in snapshot list with asterisks. Crash fix in sndfilesource dtor from brianahr. Thanks! Fixed COREAUDIO compilation. git-svn-id: svn://localhost/ardour2/trunk@1066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-03move all destructive functionality into SndFileSource as a mode, and drop ↵Paul Davis
DestructiveFileSource; make ardour save changes to destructive-xfade-msecs git-svn-id: svn://localhost/ardour2/trunk@1065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-31support for old-school automation loadingPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-31disk space reflects number of inputs per track; more libsndfile debugginPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-31fix crashes when loading ardour 0.99 sessions, restore back compatibility ↵Paul Davis
for region envelopes from 0.99; slightly more debugging when libsndfile can't seek git-svn-id: svn://localhost/ardour2/trunk@1035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-27Embedded files / embedding files now work.Sampo Savolainen
git-svn-id: svn://localhost/ardour2/trunk@1032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-20move BWF header options into Configuration option, rationalize crossfade ↵Paul Davis
parameter names, ensure full GUI display of crossfade parameters (in menus) git-svn-id: svn://localhost/ardour2/trunk@996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-09fix abort-capture path, including many subtle issues with shared_ptr<>; ↵Paul Davis
remove old automation feedback code; make new automation feedback code slightly configurable ; fix zoom focus options for playhead + edit cursor ; prevent zoom < 2 samples per pixel to avoid crashes ; peak building now uses shared_ptr<Source> not Source* git-svn-id: svn://localhost/ardour2/trunk@959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28fixes for destructive track offsets of various kinds; move from ↵Paul Davis
jack_nframes_t -> nframes_t git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-18better fix for duplicate regions, fix nasty side-effects from recent ↵Paul Davis
directory structure changes, debug info for d-n-d issue git-svn-id: svn://localhost/ardour2/trunk@919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-07remove all duplicated _id members from children of PBD::Stateful.Paul Davis
Sources now know about Session. rearrange session directory heirarchy. remove tape_dir stuff. NSD allows absolute/relative paths to be typed straight into the text entry. Session history reloaded after all 3rd party registrations done. Editor restores its ID; other objects still need this. use g_mkdir_with_parents() instead of mkdir() one example of using g_file_test() instead of access. git-svn-id: svn://localhost/ardour2/trunk@908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31merge changes from harrison branch back into trunk, by handPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-29used shared_ptr<Source>, somewhat successfullyPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-25use shared_ptr<> for all region handlingPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10- Fixed a buffer size bug when ~/.ardour2 doesn't exist (can't load ↵David Robillard
configuration), if in a hacky way - Removed useless workbuf/conversion_buffers (same thing), uneeded with libsndfile git-svn-id: svn://localhost/ardour2/trunk@781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-13destructive track work: regions now display offset by bwf timeline ↵Paul Davis
reference, cannot rec-enable before session start git-svn-id: svn://localhost/ardour2/trunk@681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11fix for playhead/edit cursor having wrong z-order placement; fix fader mouse ↵Paul Davis
control git-svn-id: svn://localhost/ardour2/trunk@676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-10BWF offset changes from Ben Loftis, hacked by hand into current svnPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-07id_t becomes a fully-fledged object, UUID's used for IDs, generic MIDI now ↵Paul Davis
owns bindings, MIDI binding concept removed from libardour itself in favor of generic Controllables git-svn-id: svn://localhost/ardour2/trunk@669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-28many fixes to audio file code, SMPTE offset now works correctlyPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21the return of VST supportPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20fixes for libsndfile conversion issues, tape track waveform display and ↵Paul Davis
overloaded virtual functions git-svn-id: svn://localhost/ardour2/trunk@624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14use libsndfile for all audio file i/o, and rename DiskStream AudioDiskStreamPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-07Merged timbyr's win32 branch. -r 547:566.Taybin Rutkin
git-svn-id: svn://localhost/ardour2/trunk@567 d708f5d6-7413-0410-9779-e7cbd77b26cf