13
0
Commit Graph

22301 Commits

Author SHA1 Message Date
5dae75555e Fix initial displayed state of zoom focus selector dropbox
git-svn-id: svn://localhost/ardour2/trunk@820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-14 00:26:54 +00:00
0b572cdd84 More signal path cleanup, IO now has one deliver_output function that should do the reasonable thing in all cases.
Including deliver MIDI.

You can now create a MIDI Track, run some MIDI through it, and toggle the mute button on and off, hearing either
silence or a large amount of stuck notes depending on your luck.  Woooo.


git-svn-id: svn://localhost/ardour2/branches/midi@818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-13 03:40:04 +00:00
Hans Fugal
cf3b3205f9 Fixed ./ar{dev,dbg}
git-svn-id: svn://localhost/ardour2/trunk@817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-13 01:51:38 +00:00
Hans Fugal
81bec39eb0 less annoying debug
git-svn-id: svn://localhost/ardour2/trunk@816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 23:30:59 +00:00
Hans Fugal
b13dc9884e r268@gwythaint (orig r808): fugalh | 2006-08-12 16:31:45 -0600
r269@gwythaint (orig r809):  fugalh | 2006-08-12 16:33:00 -0600
  r321@gandalf:  fugalh | 2006-08-12 15:48:28 -0600
  Behold serialized undo.
 
 r270@gwythaint (orig r810):  fugalh | 2006-08-12 16:33:10 -0600
  r322@gandalf:  fugalh | 2006-08-12 15:49:05 -0600
  A few ardev and ardbg enhancements.
 
 r271@gwythaint (orig r811):  fugalh | 2006-08-12 16:33:20 -0600
  r329@gandalf:  fugalh | 2006-08-12 15:54:49 -0600
  Cleaning up some printf debugging
 
 r272@gwythaint (orig r812):  fugalh | 2006-08-12 16:33:38 -0600
 
 r273@gwythaint (orig r813):  fugalh | 2006-08-12 16:33:48 -0600
  r338@gandalf:  fugalh | 2006-08-12 16:30:19 -0600
  Oops, forgot one
 
 r274@gwythaint (orig r814):  fugalh | 2006-08-12 17:19:56 -0600
 Remove -x from ardbg, fix bug in memento command factory


git-svn-id: svn://localhost/ardour2/trunk@815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 23:20:11 +00:00
Hans Fugal
92ab112480 Remove -x from ardbg, fix bug in memento command factory
git-svn-id: svn://localhost/ardour2/branches/undo@814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 23:19:56 +00:00
Hans Fugal
e0d1b7cb4b r338@gandalf: fugalh | 2006-08-12 16:30:19 -0600
Oops, forgot one


git-svn-id: svn://localhost/ardour2/branches/undo@813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:33:48 +00:00
Hans Fugal
0cde6a54ed git-svn-id: svn://localhost/ardour2/branches/undo@812 d708f5d6-7413-0410-9779-e7cbd77b26cf 2006-08-12 22:33:38 +00:00
Hans Fugal
5d965fb582 r329@gandalf: fugalh | 2006-08-12 15:54:49 -0600
Cleaning up some printf debugging


git-svn-id: svn://localhost/ardour2/branches/undo@811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:33:20 +00:00
Hans Fugal
3bb693a79d r322@gandalf: fugalh | 2006-08-12 15:49:05 -0600
A few ardev and ardbg enhancements.


git-svn-id: svn://localhost/ardour2/branches/undo@810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:33:10 +00:00
Hans Fugal
8ee6045cf4 r321@gandalf: fugalh | 2006-08-12 15:48:28 -0600
Behold serialized undo.


git-svn-id: svn://localhost/ardour2/branches/undo@809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:33:00 +00:00
Hans Fugal
26e553caa8 git-svn-id: svn://localhost/ardour2/branches/undo@808 d708f5d6-7413-0410-9779-e7cbd77b26cf 2006-08-12 22:31:45 +00:00
Hans Fugal
f99a016f17 r261@gwythaint (orig r801): fugalh | 2006-08-12 15:55:04 -0600
r329@gandalf:  fugalh | 2006-08-12 15:54:49 -0600
  Cleaning up some printf debugging
 


git-svn-id: svn://localhost/ardour2/trunk@807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:01:16 +00:00
Hans Fugal
f6347b205c r260@gwythaint (orig r800): fugalh | 2006-08-12 15:53:10 -0600
r322@gandalf:  fugalh | 2006-08-12 15:49:05 -0600
  A few ardev and ardbg enhancements.
 


git-svn-id: svn://localhost/ardour2/trunk@806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:01:08 +00:00
Hans Fugal
461b4326a1 r259@gwythaint (orig r799): fugalh | 2006-08-12 15:52:56 -0600
r321@gandalf:  fugalh | 2006-08-12 15:48:28 -0600
  Behold serialized undo.
 


git-svn-id: svn://localhost/ardour2/trunk@805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:00:57 +00:00
Hans Fugal
7f302fc8ff r258@gwythaint (orig r798): fugalh | 2006-08-12 15:50:33 -0600
The cscope and scons front-end makefile.


git-svn-id: svn://localhost/ardour2/trunk@804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:00:49 +00:00
Hans Fugal
37bfd8900c r257@gwythaint (orig r797): fugalh | 2006-08-12 15:49:20 -0600
r316@gandalf:  fugalh | 2006-08-11 17:06:48 -0600
  Reconstitution. Comiples, untested.
 


git-svn-id: svn://localhost/ardour2/trunk@803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:00:34 +00:00
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