13
0
Commit Graph

26584 Commits

Author SHA1 Message Date
Hans Fugal
1f20fbbad8 merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:57:07 +00:00
Hans Fugal
8e1c9186cb r329@gandalf: fugalh | 2006-08-12 15:54:49 -0600
Cleaning up some printf debugging


git-svn-id: svn://localhost/ardour2/branches/undo@801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:55:04 +00:00
Hans Fugal
9ff901b1e7 r322@gandalf: fugalh | 2006-08-12 15:49:05 -0600
A few ardev and ardbg enhancements.


git-svn-id: svn://localhost/ardour2/branches/undo@800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:53:10 +00:00
Hans Fugal
81b9700c14 r321@gandalf: fugalh | 2006-08-12 15:48:28 -0600
Behold serialized undo.


git-svn-id: svn://localhost/ardour2/branches/undo@799 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:52:56 +00:00
Hans Fugal
46af8c0211 The cscope and scons front-end makefile.
git-svn-id: svn://localhost/ardour2/branches/undo@798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:50:33 +00:00
Hans Fugal
57f7f71ce3 r316@gandalf: fugalh | 2006-08-11 17:06:48 -0600
Reconstitution. Comiples, untested.


git-svn-id: svn://localhost/ardour2/branches/undo@797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:49:20 +00:00
a98a67120e Merged with trunk R795
Fiddled with scrolling to leave a bit of context on each side.  'scroll interval' is a single float, should make it a configuration variable some day


git-svn-id: svn://localhost/ardour2/branches/midi@796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 19:43:09 +00:00
30ab1fd615 Towards MIDI:
- Converted vector<Sample*> to BufferList and numerous counts from int to ChanCount (and related changes)
- Added fancy type-generic iterators to BufferList, PortIterator (see IO::collect_input for a good example of the idea - the same code will work to read all input (of various types in a single IO, eg instruments) without modification no matter how many types we add)
- Fixed comparison operator bugs with ChanCount (screwed up metering among other things)
- Moved peak metering into it's own object, and moved most of the pan related code out of IO to panner (still a touch more to be done here for MIDI playback)

Not directly MIDI related fixes for problems in trunk:

- Fixed varispeed gain/pan automation to work properly (was reading the wrong range of automation data, probably causing nasty clicks?)
- Fixed crash on varispeed looping (possibly only a 64-bit problem).  It still doesn't work, but at least it doesn't die

Quite a few things broken, and the new classes are pretty filthy still, but I think the direction is a lot better than all my previous plans...


git-svn-id: svn://localhost/ardour2/branches/midi@795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 08:20:24 +00:00
Hans Fugal
f995ac3786 merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 01:36:34 +00:00
66054fe5d6 new RCU implementation, using an extra layer of indirection allowing us to use g_atomic_pointer_compare_and_exchange(); bug fix for tape tracks, not sure why this never manifested before
git-svn-id: svn://localhost/ardour2/trunk@793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 23:02:08 +00:00
Taybin Rutkin
b099d2aa87 Remove unnecessary header usage.
AUPluginUI displays an empty window.


git-svn-id: svn://localhost/ardour2/trunk@792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 20:35:55 +00:00
Hans Fugal
7d2b7e72fd merge to trunk
git-svn-id: svn://localhost/ardour2/trunk@791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 15:37:07 +00:00
Hans Fugal
1b45cf4044 r313@gandalf: fugalh | 2006-08-11 09:36:30 -0600
FLAC workaround snuck in again


git-svn-id: svn://localhost/ardour2/branches/undo@790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 15:36:41 +00:00
Hans Fugal
1a03f9440d Rect fix
git-svn-id: svn://localhost/ardour2/trunk@789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 15:27:51 +00:00
Hans Fugal
af0680d49b r308@gandalf: fugalh | 2006-08-11 08:49:54 -0600
OS X MacTypes.h/libgnomecanvasmm Rect problem workaround when COREAUDIO=0


git-svn-id: svn://localhost/ardour2/branches/undo@788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 15:24:49 +00:00
cbdf686e39 - Replaced integer port counts (and input/output maximum/minimum) with ChanCount, which can count multiple types and does the reasonable thing for all comparison operators
- Removed the fader/meters from MIDI mixer strips, at least until they do something
- Made the Add Route dialog refuse to create MIDI busses, Spifftacular warning dialog and all

Changes a bit more widespread than I was hoping, but worked out really well - lots of code will continue to work fine even when multi-typed (eg instrument) IOs come around, just ignoring the types it doesn't care about.  Most all changes related to counts are little search/replace deals, logic doesn't need to change.  Hopefully SVN can handle (automatic) merging with the other SoC projects if the buffer change goes as well.

Next step: do for buffers what the last two commits did for ports.


git-svn-id: svn://localhost/ardour2/branches/midi@787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 07:15:30 +00:00
30c08ba655 - Changed IO's vector<Port*>'s to PortList
- Added new Port classes, code to drive them
- Added PortList, which is a filthy mess ATM (nevermind that, it's the interface that's important at this stage)
- Added ChanCount, though it isn't very thoroughly used yet.  That's the next step....
- Fixed a few bugs relating to loading sessions saved with trunk
- Fixed a few random other bugs

Slowly working towards type agnosticism while keeping all the former code/logic intact is the name of the game here

Warning:  Removing ports is currently (intentionally) broken due solely to laziness.


git-svn-id: svn://localhost/ardour2/branches/midi@786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 03:24:57 +00:00
Taybin Rutkin
5596fe35df Removed unnecessary AudioEngine argument to FooPluginUIs.
git-svn-id: svn://localhost/ardour2/trunk@785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 17:35:58 +00:00
Hans Fugal
a1aa6d2ae1 history snapshot name
git-svn-id: svn://localhost/ardour2/branches/undo@784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 14:56:20 +00:00
Sampo Savolainen
00bf20c236 Plugin selector keyboard focus should now stay in the plugin list. More
sensible defaults for the NSD and accelerators will work in plugin 
windows (plus keyboard will not affect the plugin window itself).


git-svn-id: svn://localhost/ardour2/trunk@783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 14:41:53 +00:00
Taybin Rutkin
77a13df5bd Moved PluginInfo::Type to ARDOUR::PluginType in ardour/types.h.
Figured out (mostly) AUPluginUI hierarchy.
Moved LadspaPluginUI to its own ladspa_pluginui.cc file.


git-svn-id: svn://localhost/ardour2/trunk@782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 04:01:15 +00:00
d4dd338beb - Fixed a buffer size bug when ~/.ardour2 doesn't exist (can't load 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-08-10 03:04:13 +00:00
Hans Fugal
ae95684d22 merging to trunk, bugfix
git-svn-id: svn://localhost/ardour2/trunk@780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:46:55 +00:00
Hans Fugal
74b19eadfa Can pass a core to ardbg now. Fixed sometimes crash on saving history by
creating a memory leak(?) that will go away with the transition of XMLNode* to
shared_ptr<>. A few bits toward restoring history from XML.


git-svn-id: svn://localhost/ardour2/branches/undo@779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:45:49 +00:00
46050aab2f Added missing #include <cassert> (whoops)
git-svn-id: svn://localhost/ardour2/trunk@778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:29:08 +00:00
ab6f1ed9ba Merged with trunk R776
git-svn-id: svn://localhost/ardour2/branches/midi@777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:22:45 +00:00
60e9d9c3df A few minor warning fixes
git-svn-id: svn://localhost/ardour2/trunk@776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 00:56:04 +00:00
Hans Fugal
fece970e26 Merging to trunk. Session history is saved (probably needs tweaking) wherever
session state is saved.

git-svn-id: svn://localhost/ardour2/trunk@775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:53:15 +00:00
Hans Fugal
cd3f8dba11 r294@gandalf: fugalh | 2006-08-09 15:38:00 -0600
Oops, that wasn't supposed to be checked in...


git-svn-id: svn://localhost/ardour2/branches/undo@774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:38:44 +00:00
Hans Fugal
a160eb92db merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:31:36 +00:00
Hans Fugal
5863128553 r229@gwythaint (orig r769): fugalh | 2006-08-09 08:15:05 -0600
r283@gandalf:  fugalh | 2006-08-09 08:13:37 -0600
  Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).
 


git-svn-id: svn://localhost/ardour2/trunk@772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:29:43 +00:00
Hans Fugal
0a24970b4e r228@gwythaint (orig r768): fugalh | 2006-08-09 08:14:55 -0600
r282@gandalf:  fugalh | 2006-08-08 16:24:45 -0600
  grr
  
 


git-svn-id: svn://localhost/ardour2/trunk@771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:29:33 +00:00
Hans Fugal
514daa01ec r227@gwythaint (orig r767): fugalh | 2006-08-09 08:14:17 -0600
r274@gandalf:  fugalh | 2006-08-07 19:53:48 -0600
  Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
  code.
 


git-svn-id: svn://localhost/ardour2/trunk@770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:29:18 +00:00
Hans Fugal
c26215c1e5 r283@gandalf: fugalh | 2006-08-09 08:13:37 -0600
Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).


git-svn-id: svn://localhost/ardour2/branches/undo@769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 14:15:05 +00:00
Hans Fugal
5fc16bf95f r282@gandalf: fugalh | 2006-08-08 16:24:45 -0600
grr
 


git-svn-id: svn://localhost/ardour2/branches/undo@768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 14:14:55 +00:00
Hans Fugal
a32175bd41 r274@gandalf: fugalh | 2006-08-07 19:53:48 -0600
Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
 code.


git-svn-id: svn://localhost/ardour2/branches/undo@767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 14:14:17 +00:00
Taybin Rutkin
7cda434904 Renamed PluginUI to LadspaPluginUI to make things more clear.
git-svn-id: svn://localhost/ardour2/trunk@766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 04:53:12 +00:00
Sampo Savolainen
3220684ade New session dialog fixups:
- The name specified on the command line for the new
   session comes up in the dialog
 - The editor will not appear below the NSD at startup

Command line parameter fixups:
 - You can't specify both a new session and a old
   session to load at the same time.
 - Ardour will abort if command line parameters are
   incorrect

Declick faster. Fixes audible and annoying volume ramps 
when running ardour at large buffer sizes.

Make it impossible to arm tracks which have un-connected
inputs.




git-svn-id: svn://localhost/ardour2/trunk@765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-08 21:27:41 +00:00
Hans Fugal
f07cb624c0 pull from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-08 21:11:23 +00:00
Taybin Rutkin
fb8903e443 AudioUnit work.
Filled in some stub functions.
Started AUPluginUI class.


git-svn-id: svn://localhost/ardour2/trunk@762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-08 04:17:26 +00:00
Sampo Savolainen
f961bbd941 Fix for compiling with gcc 4.1. Inlining functions which are used
by assigning pointers to the function doesn't make any sense.


git-svn-id: svn://localhost/ardour2/trunk@761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-05 20:11:50 +00:00
Sampo Savolainen
4a84220fd9 Fixed memory leak while recording due to rec region state saved every
time the fake region was updated. Now any StateManager object can 
implement a should_save_state() which controls whether the state of the 
object should be saved.


git-svn-id: svn://localhost/ardour2/trunk@760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-05 17:48:01 +00:00
Sampo Savolainen
0eb03e1afe shraed_ptr<> etc. fixes for VST's. VST support now compiles, but doesn't
run for some reason.


git-svn-id: svn://localhost/ardour2/trunk@759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-05 11:46:13 +00:00
Hans Fugal
dca612e82a Merging undo branch into trunk. It compiles and works for limited tests. Keep
your eye on it. Actual serialization is still not there, but the next step.

git-svn-id: svn://localhost/ardour2/trunk@758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-04 03:46:07 +00:00
Hans Fugal
5756373841 Really fixed conflicts. Ready to merge into trunk.
git-svn-id: svn://localhost/ardour2/branches/undo@757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-04 03:42:34 +00:00
Hans Fugal
79986643c0 r269@gandalf: fugalh | 2006-08-03 20:18:05 -0600
Trunk merge conflicts resolved


git-svn-id: svn://localhost/ardour2/branches/undo@756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-04 02:18:45 +00:00
Taybin Rutkin
aacae5f32b Fix for AudioUnit crash.
git-svn-id: svn://localhost/ardour2/trunk@755 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-03 22:01:17 +00:00
Hans Fugal
b0b7234458 r260@gandalf: fugalh | 2006-08-03 15:53:50 -0600
It compiles and runs and seems to still work. Still needed is the actual
 serialization. Time to merge back to trunk so things can be tested by all.


git-svn-id: svn://localhost/ardour2/branches/undo@754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-03 21:54:14 +00:00
Taybin Rutkin
56d5c7c713 Start using libappleutility
More AudioUnit work


git-svn-id: svn://localhost/ardour2/trunk@753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-03 21:19:34 +00:00
Taybin Rutkin
5fdfe49406 Most PluginManager refactoring is out of the way. Time to begin on AudioUnit support for real.
git-svn-id: svn://localhost/ardour2/trunk@752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-03 17:17:38 +00:00