ardour.git
6 years agoauditioner always runs at normal speed, independent of transport speed
Paul Davis [Tue, 25 Jul 2017 17:01:31 +0000 (13:01 -0400)]
auditioner always runs at normal speed, independent of transport speed

6 years agoadd to LUA API (new Stripable API)
Paul Davis [Tue, 25 Jul 2017 17:00:50 +0000 (13:00 -0400)]
add to LUA API (new Stripable API)

6 years agouse const
Paul Davis [Tue, 25 Jul 2017 17:00:14 +0000 (13:00 -0400)]
use const

6 years agoremove unused + commented line
Paul Davis [Tue, 25 Jul 2017 17:00:03 +0000 (13:00 -0400)]
remove unused + commented line

6 years agosubtle change to _need_butler logic to ensure correct result in mixed-type contexts
Paul Davis [Tue, 25 Jul 2017 16:59:31 +0000 (12:59 -0400)]
subtle change to _need_butler logic to ensure correct result in mixed-type contexts

6 years agoreinstate use of a MidiTrack's MIDI filter when reading from disk
Paul Davis [Tue, 25 Jul 2017 16:58:23 +0000 (12:58 -0400)]
reinstate use of a MidiTrack's MIDI filter when reading from disk

6 years agochannel config changes during ::configure_io() must be scoped to ensure they are...
Paul Davis [Tue, 25 Jul 2017 16:57:07 +0000 (12:57 -0400)]
channel config changes during ::configure_io() must be scoped to ensure they are complete before signals are sent

6 years agomove _file_frame from DiskIOProcessor into DiskReader (only place where it is needed...
Paul Davis [Tue, 25 Jul 2017 16:46:05 +0000 (12:46 -0400)]
move _file_frame from DiskIOProcessor into DiskReader (only place where it is needed); split into by-type array to deal with different rate of audio & MIDI i/o

6 years agoMidiTrack needs to set it's "need butler" status
Paul Davis [Tue, 25 Jul 2017 16:41:35 +0000 (12:41 -0400)]
MidiTrack needs to set it's "need butler" status

6 years agouse a more useful and accurate heuristic to get ::input_streams() for the auditioner
Paul Davis [Tue, 25 Jul 2017 15:39:27 +0000 (11:39 -0400)]
use a more useful and accurate heuristic to get ::input_streams() for the auditioner

6 years agoclear regions from "other" playlist type in auditioner when starting a new audition
Paul Davis [Tue, 25 Jul 2017 15:38:53 +0000 (11:38 -0400)]
clear regions from "other" playlist type in auditioner when starting a new audition

6 years agoauditioner does not care about the state of its diskwriter processor
Paul Davis [Tue, 25 Jul 2017 15:38:16 +0000 (11:38 -0400)]
auditioner does not care about the state of its diskwriter processor

6 years agochange callers of changed Track::use_new_playlist() API and its implementation
Paul Davis [Tue, 25 Jul 2017 15:34:09 +0000 (11:34 -0400)]
change callers of changed Track::use_new_playlist() API and its implementation

6 years agoremove Auditioner::prepare_playlist() - not used
Paul Davis [Tue, 25 Jul 2017 15:28:19 +0000 (11:28 -0400)]
remove Auditioner::prepare_playlist() - not used

6 years agouse new Track API
Paul Davis [Tue, 25 Jul 2017 15:27:18 +0000 (11:27 -0400)]
use new Track API

6 years agoadd Track::use_default_new_playlist()
Paul Davis [Tue, 25 Jul 2017 15:27:00 +0000 (11:27 -0400)]
add Track::use_default_new_playlist()

6 years agoremove Track::hidden(); replace with Stripable::is_private_route()
Paul Davis [Tue, 25 Jul 2017 15:26:14 +0000 (11:26 -0400)]
remove Track::hidden(); replace with Stripable::is_private_route()

6 years agoemit required signal
Paul Davis [Fri, 21 Jul 2017 21:13:31 +0000 (17:13 -0400)]
emit required signal

6 years agobasic GUI framework for setting Disk I/O options
Paul Davis [Fri, 21 Jul 2017 21:03:41 +0000 (17:03 -0400)]
basic GUI framework for setting Disk I/O options

6 years agomechanism to allow Track (or other Route-derived type) to add its own processors...
Paul Davis [Fri, 21 Jul 2017 21:03:04 +0000 (17:03 -0400)]
mechanism to allow Track (or other Route-derived type) to add its own processors at the right time

6 years agoadd enum registration for DiskIOPoint
Paul Davis [Fri, 21 Jul 2017 21:01:49 +0000 (17:01 -0400)]
add enum registration for DiskIOPoint

6 years agotweaks to disk io point mechanisms
Paul Davis [Fri, 21 Jul 2017 18:29:35 +0000 (14:29 -0400)]
tweaks to disk io point mechanisms

6 years agoinitial (incomplete) framework for DiskIOPoint manipulation
Paul Davis [Thu, 20 Jul 2017 23:05:35 +0000 (19:05 -0400)]
initial (incomplete) framework for DiskIOPoint manipulation

6 years agofix longstanding compiler warning
Paul Davis [Thu, 20 Jul 2017 22:27:36 +0000 (18:27 -0400)]
fix longstanding compiler warning

6 years agonew enums for disk i/o positioning
Paul Davis [Thu, 20 Jul 2017 21:55:34 +0000 (17:55 -0400)]
new enums for disk i/o positioning

6 years agoframework for silent-roll-while-slave-syncing
Paul Davis [Thu, 20 Jul 2017 21:53:56 +0000 (17:53 -0400)]
framework for silent-roll-while-slave-syncing

6 years agodo not queue multiple Locate or LocateRoll events
Paul Davis [Mon, 17 Jul 2017 18:04:45 +0000 (14:04 -0400)]
do not queue multiple Locate or LocateRoll events

6 years agodebug instrumentation for locate time
Paul Davis [Mon, 17 Jul 2017 18:04:31 +0000 (14:04 -0400)]
debug instrumentation for locate time

6 years agoprobable fix for out-of-sync issue across tracks after locate
Paul Davis [Mon, 17 Jul 2017 16:16:00 +0000 (12:16 -0400)]
probable fix for out-of-sync issue across tracks after locate

6 years agowhen DiskReader checks to see if a locate is in progress, it must be atomic with...
Paul Davis [Wed, 5 Jul 2017 21:24:02 +0000 (17:24 -0400)]
when DiskReader checks to see if a locate is in progress, it must be atomic with respect to all DiskReaders

6 years agoDiskWriter needs to drop source refs in its destructor.
Paul Davis [Wed, 5 Jul 2017 19:07:37 +0000 (15:07 -0400)]
DiskWriter needs to drop source refs in its destructor.

SerializedRCUManager can't do this by itself

6 years agochange visible name of disk i/o processors
Paul Davis [Wed, 5 Jul 2017 18:37:27 +0000 (14:37 -0400)]
change visible name of disk i/o processors

6 years agodo not change Session::_transport_frame is a locate is pending
Paul Davis [Wed, 5 Jul 2017 17:33:55 +0000 (13:33 -0400)]
do not change Session::_transport_frame is a locate is pending

6 years agorestart non-RT locate if a new request has been processed by RT context since we...
Paul Davis [Tue, 4 Jul 2017 16:14:33 +0000 (12:14 -0400)]
restart non-RT locate if a new request has been processed by RT context since we started

6 years agoadjust debug trace output message
Paul Davis [Tue, 4 Jul 2017 16:14:10 +0000 (12:14 -0400)]
adjust debug trace output message

6 years agocomment out debug trace output
Paul Davis [Tue, 4 Jul 2017 16:13:48 +0000 (12:13 -0400)]
comment out debug trace output

6 years agocomment out debug trace output
Paul Davis [Tue, 4 Jul 2017 16:13:33 +0000 (12:13 -0400)]
comment out debug trace output

6 years agodon't bother to re-seek/locate/refill buffers when disk IO processor config changes...
Paul Davis [Tue, 4 Jul 2017 16:13:17 +0000 (12:13 -0400)]
don't bother to re-seek/locate/refill buffers when disk IO processor config changes unless it actually changed

6 years agoadd new debug trace output
Paul Davis [Tue, 4 Jul 2017 16:12:26 +0000 (12:12 -0400)]
add new debug trace output

6 years agocomment out debug trace output
Paul Davis [Tue, 4 Jul 2017 16:12:19 +0000 (12:12 -0400)]
comment out debug trace output

6 years agofix logic bug in deciding if there is outstanding disk i/o work in butler
Paul Davis [Tue, 4 Jul 2017 16:12:05 +0000 (12:12 -0400)]
fix logic bug in deciding if there is outstanding disk i/o work in butler

6 years agocomment out debug trace output
Paul Davis [Tue, 4 Jul 2017 16:11:35 +0000 (12:11 -0400)]
comment out debug trace output

6 years agoadd new debug trace output
Paul Davis [Tue, 4 Jul 2017 16:11:18 +0000 (12:11 -0400)]
add new debug trace output

6 years agoNOOP: remove line split for conditional
Paul Davis [Tue, 4 Jul 2017 16:10:52 +0000 (12:10 -0400)]
NOOP: remove line split for conditional

6 years agochange debug trace output
Paul Davis [Tue, 4 Jul 2017 16:10:33 +0000 (12:10 -0400)]
change debug trace output

6 years agodo not advance pointer; avoids illegal over-read during mix_buffers_no_gain()
Paul Davis [Thu, 29 Jun 2017 15:43:10 +0000 (11:43 -0400)]
do not advance pointer; avoids illegal over-read during mix_buffers_no_gain()

6 years agolocating no longer interrupts process()
Paul Davis [Tue, 27 Jun 2017 19:33:41 +0000 (15:33 -0400)]
locating no longer interrupts process()

6 years agosince Session::fail_roll() just calls ::no_roll() make that more explicit when there...
Paul Davis [Tue, 27 Jun 2017 19:33:27 +0000 (15:33 -0400)]
since Session::fail_roll() just calls ::no_roll() make that more explicit when there's actually no failure

6 years agomissing file from previous commit
Paul Davis [Tue, 27 Jun 2017 19:32:57 +0000 (15:32 -0400)]
missing file from previous commit

6 years agoremove InputConfigurationChange from session events, since it is a no-op in this...
Paul Davis [Tue, 27 Jun 2017 19:32:30 +0000 (15:32 -0400)]
remove InputConfigurationChange from session events, since it is a no-op in this development branch

6 years agofix up error in manual rebase correction
Paul Davis [Mon, 26 Jun 2017 15:19:07 +0000 (11:19 -0400)]
fix up error in manual rebase correction

6 years agoupdate disk writer input latency at transport stop
Paul Davis [Fri, 23 Jun 2017 20:34:12 +0000 (16:34 -0400)]
update disk writer input latency at transport stop

6 years agoset + store signal chain latency for all processors; DiskWriter sets its capture_offs...
Paul Davis [Fri, 23 Jun 2017 18:19:04 +0000 (14:19 -0400)]
set + store signal chain latency for all processors; DiskWriter sets its capture_offset appropriately

6 years agothe return of MIDI recording, plus refactor to move post-capture playlist manipulatio...
Paul Davis [Thu, 22 Jun 2017 23:18:57 +0000 (19:18 -0400)]
the return of MIDI recording, plus refactor to move post-capture playlist manipulations into Track

6 years agomore DEBUG::Destruction messages
Paul Davis [Wed, 21 Jun 2017 16:57:41 +0000 (12:57 -0400)]
more DEBUG::Destruction messages

6 years agodrop references to disk reader and writer objects in Track destructor
Paul Davis [Wed, 21 Jun 2017 16:57:25 +0000 (12:57 -0400)]
drop references to disk reader and writer objects in Track destructor

6 years agoforce auditioner to emit GoingAway at the right time, so that its disk reader/writer...
Paul Davis [Wed, 21 Jun 2017 16:56:06 +0000 (12:56 -0400)]
force auditioner to emit GoingAway at the right time, so that its disk reader/writer objects drop their reference

6 years agodrop route shared_ptr when Route::GoingAway is emitted
Paul Davis [Wed, 21 Jun 2017 16:54:39 +0000 (12:54 -0400)]
drop route shared_ptr when Route::GoingAway is emitted

6 years agofix inadvertent run of Interpolation object when transport speed is zero, leading...
Paul Davis [Wed, 21 Jun 2017 16:51:53 +0000 (12:51 -0400)]
fix inadvertent run of Interpolation object when transport speed is zero, leading to a single sample being written when nothing should be.

Also, rename "outgoing" as "disk_signal" to be more clear.

6 years agofix uninitialized variables causing DiskWriters to think they were in some incorrect...
Paul Davis [Tue, 13 Jun 2017 19:47:58 +0000 (15:47 -0400)]
fix uninitialized variables causing DiskWriters to think they were in some incorrect state(s)

6 years agorename a method to be more clear; remove an unused method from DiskReader
Paul Davis [Tue, 13 Jun 2017 18:54:33 +0000 (14:54 -0400)]
rename a method to be more clear; remove an unused method from DiskReader

6 years agocue monitoring for MIDI
Paul Davis [Mon, 12 Jun 2017 19:39:09 +0000 (15:39 -0400)]
cue monitoring for MIDI

6 years agoget sdio branch working with MIDI tracks
Paul Davis [Mon, 12 Jun 2017 19:38:59 +0000 (15:38 -0400)]
get sdio branch working with MIDI tracks

6 years agoNO-OP: comment
Paul Davis [Mon, 12 Jun 2017 19:37:06 +0000 (15:37 -0400)]
NO-OP: comment

6 years agocue monitoring for audio (GUI aspects)
Paul Davis [Sun, 11 Jun 2017 23:53:22 +0000 (19:53 -0400)]
cue monitoring for audio (GUI aspects)

6 years agocue monitoring for audio (libardour aspects)
Paul Davis [Sun, 11 Jun 2017 23:53:02 +0000 (19:53 -0400)]
cue monitoring for audio (libardour aspects)

6 years agomove channel-count setting for DiskReader so that it actually reflects the correct...
Paul Davis [Sun, 11 Jun 2017 18:30:34 +0000 (14:30 -0400)]
move channel-count setting for DiskReader so that it actually reflects the correct numbers

6 years agofix various naming issues with Disk{Reader,Writer}
Paul Davis [Sat, 10 Jun 2017 04:41:29 +0000 (00:41 -0400)]
fix various naming issues with Disk{Reader,Writer}

6 years agouncomment existing machinery to deal with playlist modifications
Paul Davis [Fri, 9 Jun 2017 21:37:59 +0000 (17:37 -0400)]
uncomment existing machinery to deal with playlist modifications

6 years agoNO-OP: remove placeholder comment
Paul Davis [Wed, 7 Jun 2017 23:16:31 +0000 (19:16 -0400)]
NO-OP: remove placeholder comment

6 years agoNO-OP explanatory comment
Paul Davis [Wed, 7 Jun 2017 23:03:08 +0000 (19:03 -0400)]
NO-OP explanatory comment

6 years agoNO-OP explanatory comment
Paul Davis [Wed, 7 Jun 2017 22:59:09 +0000 (18:59 -0400)]
NO-OP explanatory comment

6 years agoalignment choice now owned by Track, as a proxy for DiskWriter
Paul Davis [Wed, 7 Jun 2017 19:09:02 +0000 (15:09 -0400)]
alignment choice now owned by Track, as a proxy for DiskWriter

DiskWriter is a processor and as such has no Input object. This means
that the "Automatic" setting must be handled by the Track, which
does have an Input object to check for port connections to physical
or non-physical sources

6 years agoNO-OP: whitespace inside #if 0
Paul Davis [Tue, 6 Jun 2017 21:43:10 +0000 (17:43 -0400)]
NO-OP: whitespace inside #if 0

6 years agofix iterator initialization
Paul Davis [Tue, 6 Jun 2017 21:42:45 +0000 (17:42 -0400)]
fix iterator initialization

6 years agoset up DiskWriter sources at an appropriate time
Paul Davis [Tue, 6 Jun 2017 21:42:30 +0000 (17:42 -0400)]
set up DiskWriter sources at an appropriate time

6 years agodon't crash when recording due to null midi_write_source
Paul Davis [Tue, 6 Jun 2017 20:31:00 +0000 (16:31 -0400)]
don't crash when recording due to null midi_write_source

6 years agomanual fixes for various XML API changes in master, required after rebase on master
Paul Davis [Fri, 5 May 2017 21:53:26 +0000 (22:53 +0100)]
manual fixes for various XML API changes in master, required after rebase on master

6 years agoremove all remaining vestiges of per-track varispeed from libardour
Paul Davis [Tue, 18 Apr 2017 11:28:44 +0000 (12:28 +0100)]
remove all remaining vestiges of per-track varispeed from libardour

6 years agono more per-track varispeed
Paul Davis [Mon, 17 Apr 2017 10:12:49 +0000 (11:12 +0100)]
no more per-track varispeed

6 years agoget diskreader working, and remove per-track varispeed API and mechanism
Paul Davis [Mon, 17 Apr 2017 10:12:38 +0000 (11:12 +0100)]
get diskreader working, and remove per-track varispeed API and mechanism

6 years agoremove debug output
Paul Davis [Fri, 14 Apr 2017 16:33:22 +0000 (17:33 +0100)]
remove debug output

6 years agocorrectly create Tracks, not Busses
Paul Davis [Fri, 14 Apr 2017 16:32:16 +0000 (17:32 +0100)]
correctly create Tracks, not Busses

6 years agosave processor type for Disk{Reader,Writer}
Paul Davis [Fri, 14 Apr 2017 16:10:22 +0000 (17:10 +0100)]
save processor type for Disk{Reader,Writer}

6 years agoaddd more DEBUG_TRACE for DiskIO; set DiskIOProcess::_need_butler more appropriately...
Paul Davis [Tue, 11 Apr 2017 16:38:34 +0000 (17:38 +0100)]
addd more DEBUG_TRACE for DiskIO; set DiskIOProcess::_need_butler more appropriately; other minor adjustments

6 years agonothing to do anymore at the Track level when input config changes
Paul Davis [Mon, 10 Apr 2017 14:58:28 +0000 (15:58 +0100)]
nothing to do anymore at the Track level when input config changes

6 years agoreinstate input monitoring function
Paul Davis [Mon, 10 Apr 2017 12:05:06 +0000 (13:05 +0100)]
reinstate input monitoring function

6 years agofully remove diskstream code
Paul Davis [Mon, 10 Apr 2017 10:44:48 +0000 (11:44 +0100)]
fully remove diskstream code

6 years agorandom changes required to get an audio track created and transport functional
Paul Davis [Mon, 10 Apr 2017 09:25:00 +0000 (10:25 +0100)]
random changes required to get an audio track created and transport functional

6 years agoremove Diskstream from Track and derivatives; get ardour to actually startup
Paul Davis [Mon, 3 Apr 2017 21:36:12 +0000 (23:36 +0200)]
remove Diskstream from Track and derivatives; get ardour to actually startup

6 years agoremove now-non-existent method from Lua
Paul Davis [Mon, 3 Apr 2017 21:35:03 +0000 (23:35 +0200)]
remove now-non-existent method from Lua

6 years agoadd DEBUG::DiskIO
Paul Davis [Mon, 3 Apr 2017 21:34:00 +0000 (23:34 +0200)]
add DEBUG::DiskIO

6 years agoremove Session::track_by_diskstream_id()
Paul Davis [Mon, 3 Apr 2017 21:33:27 +0000 (23:33 +0200)]
remove Session::track_by_diskstream_id()

6 years agomega-commit to save state of first "it compilesand links" state for separated disk...
Paul Davis [Fri, 31 Mar 2017 15:28:14 +0000 (17:28 +0200)]
mega-commit to save state of first "it compilesand links" state for separated disk i/o changes.

THIS WILL NOT RUN. THIS REQUIRES MANY CHANGES

6 years agomerge almost all audio & midi diskstream code, redistribute between DiskIOProcessor...
Paul Davis [Thu, 16 Mar 2017 16:26:53 +0000 (17:26 +0100)]
merge almost all audio & midi diskstream code, redistribute between DiskIOProcessor, DiskReader,DiskWriter; compile and link

6 years agoremove duplicated (in heirarchy) loop location from DiskReader
Paul Davis [Thu, 9 Mar 2017 11:37:07 +0000 (12:37 +0100)]
remove duplicated (in heirarchy) loop location from DiskReader

6 years agomove need-butler from DiskReader to DiskIOProcessor
Paul Davis [Thu, 9 Mar 2017 11:20:51 +0000 (12:20 +0100)]
move need-butler from DiskReader to DiskIOProcessor

6 years agomove ChannelInfo structure from DiskReader into DiskIOProcessor
Paul Davis [Wed, 8 Mar 2017 18:46:24 +0000 (19:46 +0100)]
move ChannelInfo structure from DiskReader into DiskIOProcessor

6 years agomerge MidiDiskstream into DiskReader (playback parts)
Paul Davis [Tue, 7 Mar 2017 18:40:37 +0000 (19:40 +0100)]
merge MidiDiskstream into DiskReader (playback parts)

6 years agotwo additional AudioDiskstream methods, partially commented out now
Paul Davis [Mon, 6 Mar 2017 12:07:34 +0000 (13:07 +0100)]
two additional AudioDiskstream methods, partially commented out now