13
0
Commit Graph

22301 Commits

Author SHA1 Message Date
728835e5e7 many fixes to audio file code, SMPTE offset now works correctly
git-svn-id: svn://localhost/ardour2/trunk@649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-28 22:00:09 +00:00
216b012e0b A couple GUI tweaks - minor toolbar reorganization, trying to get the width down below 1024 (and make things more organized and easier to use in general). Not quite there yet....
git-svn-id: svn://localhost/ardour2/branches/midi@648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-28 07:08:10 +00:00
Taybin Rutkin
fdda19d3d4 CoreAudioSource moved to coreaudiosource.cc.
Compiles with new libsndfile class hierarchy.


git-svn-id: svn://localhost/ardour2/trunk@647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 21:57:15 +00:00
Taybin Rutkin
17916d84bc Start of app_build script.
git-svn-id: svn://localhost/ardour2/trunk@646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 15:39:33 +00:00
Taybin Rutkin
71862247ad Components of Ardour.app package.
git-svn-id: svn://localhost/ardour2/trunk@644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 00:45:25 +00:00
b7f3a63507 Actually added the code mentioned in my last commit. Whoops.
git-svn-id: svn://localhost/ardour2/branches/midi@643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-26 20:29:45 +00:00
2336aa1a50 Added missing file
git-svn-id: svn://localhost/ardour2/branches/midi@642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-26 16:49:59 +00:00
fe13d08874 Large nasty commit in the form of a 5000 line patch chock-full of completely
unecessary changes.  (Sorry, doing a "sprint" based thing, this is the end of the first one)

Achieved MIDI track and bus creation, associated Jack port and diskstream creation, and minimal GUI stuff for creating them.  Should be set to start work on actually recording and playing midi to/from disk now.

Relevant (significant) changes:

- Creation of a Buffer class.  Base class is type agnostic so things can point to a buffer but not care what kind it is (otherwise it'd be a template).  Derived into AudioBuffer and MidiBuffer, with a type tag because checking type is necessary in parts of the code where dynamic_cast wouldn't be wise.  Originally I considered this a hack, but passing around a type proved to be a very good solution to all the other problems (below).  There is a 1:1 mapping between jack port data types and ardour Buffer types (with a conversion function), but that's easily removed if it ever becomes necessary.  Having the type scoped in the Buffer class is maybe not the best spot for it, but whatever (this is proof of concept kinda stuff right now...)

- IO now has a "default" port type (passed to the constructor and stored as a member), used by ensure_io (and similar) to create n ports.  IO::register_***_port has a type argument that defaults to the default type if not passed.  Rationale:  previous IO API is identical, no changes needed to existing code, but path is paved for multiple port types in one IO, which we will need for eg synth plugin inserts, among other things.  This is not quite ideal (best would be to only have the two port register functions and have them take a type), but the alternative is a lot of work (namely destroying the 'ensure' functions and everything that uses them) for very little gain.  (I am convinced after quite a few tries at the whiteboard that subclassing IO in any way is not a feasible option, look at it's inheritance diagram in Doxygen and you can see why)

- AudioEngine::register_audio_input_port is now register_input_port and takes a type argument.  Ditto for output.

- (Most significant change) AudioDiskstream abstracted into Distream, and sibling MidiDiskstream created.  Very much still a work in progress, but Diskstream is there to switch references over to (most already are), which is the important part.  It is still unclear what the MIDI diskstream's relation to channels is, but I'm pretty sure they will be single channel only (so SMF Type 0) since noone can come up with a reason otherwise.

- MidiTrack creation.  Same thing as AudioTrack but with a different default type basically.  No big deal here.

- Random cleanups and variable renamings etc. because I have OCD and can't help myself. :)

Known broken:  Loading of sessions containing MIDI tracks.




git-svn-id: svn://localhost/ardour2/branches/midi@641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-26 16:01:34 +00:00
Hans Fugal
7ff370e798 Merging from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 23:40:55 +00:00
Hans Fugal
fd742b30fa r111@gandalf: fugalh | 2006-06-22 17:38:14 -0600
progress on UndoCommand constructors


git-svn-id: svn://localhost/ardour2/branches/undo@637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 23:38:19 +00:00
Hans Fugal
4078b9ec64 r80@gandalf: fugalh | 2006-06-22 16:37:01 -0600
reworked templatization of UndoCommand


git-svn-id: svn://localhost/ardour2/branches/undo@636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 22:37:08 +00:00
2b5d095464 correctly forward configure events to plugin windows, and cleanup FST code
git-svn-id: svn://localhost/ardour2/trunk@635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 21:04:47 +00:00
58c39d50b1 remove references to un-namespaced "error" symbol
git-svn-id: svn://localhost/ardour2/trunk@634 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 15:00:45 +00:00
79bd2334db don't use PluginSelector::vst_refiller if VST_SUPPORT not defined
git-svn-id: svn://localhost/ardour2/trunk@633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 02:58:41 +00:00
5df781bb0d use newer python string methods
git-svn-id: svn://localhost/ardour2/trunk@632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:30:28 +00:00
d9339f2f40 add actual wine-built code for VST support
git-svn-id: svn://localhost/ardour2/trunk@631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:23:11 +00:00
4d3e06f29d more details for VST support
git-svn-id: svn://localhost/ardour2/trunk@630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:22:16 +00:00
912da52a53 the return of VST support
git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21 23:01:03 +00:00
13532c8500 Merged with trunk
git-svn-id: svn://localhost/ardour2/branches/midi@628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21 18:14:45 +00:00
69ac3569ed allow libsndfile to open BWF files; fix -Woverload-virtuals being in CCFLAGS instead of CXXFLAGS where it should be
git-svn-id: svn://localhost/ardour2/trunk@626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 21:24:50 +00:00
Taybin Rutkin
78889b0958 Merged revisions 588:623 from tag/presndfile.
Minor scons fixes.
CoreAudioSource updates.


git-svn-id: svn://localhost/ardour2/trunk@625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 20:14:31 +00:00
be362ae53c fixes for libsndfile conversion issues, tape track waveform display and overloaded virtual functions
git-svn-id: svn://localhost/ardour2/trunk@624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 18:50:38 +00:00
6a1f2919f2 Preliminary MMC sending
git-svn-id: svn://localhost/ardour2/branches/midi@614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-16 02:28:41 +00:00
c03dbd7568 Fixed typo that had "Send MMC" toggling Send MTC
git-svn-id: svn://localhost/ardour2/trunk@613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-16 01:05:06 +00:00
e13e84677a Merged with trunk revision 610
git-svn-id: svn://localhost/ardour2/branches/midi@611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 22:31:13 +00:00
6313751f75 Moved SMPTE type/functions into SMPTE namespace;
LGPL'd SMPTE code and moved in to libardour_cp;
Juggled control_protocol dir layout to be the same as other libs;


git-svn-id: svn://localhost/ardour2/trunk@610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 21:54:26 +00:00
Sampo Savolainen
4ef0bd2310 Make signals below -200dB "-inf" in meters.
git-svn-id: svn://localhost/ardour2/trunk@609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 21:11:43 +00:00
Sampo Savolainen
8e8b920fa6 Make peak bar always fit the area of the meter
git-svn-id: svn://localhost/ardour2/trunk@608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 20:56:46 +00:00
Sampo Savolainen
e509ef5c06 Make the tranzport surface work even if the call to
usb_set_configuration() fails


git-svn-id: svn://localhost/ardour2/trunk@607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 20:55:54 +00:00
Hans Fugal
7c9361b865 r59@gandalf: fugalh | 2006-06-15 12:16:20 -0600
renamed UndoCommand to UndoTransaction, and created new UndoCommand class and
 its templated subclass SlotCommand. Those two are still in considerable flux.


git-svn-id: svn://localhost/ardour2/branches/undo@606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 18:21:31 +00:00
0323d748de removed some unused source files
git-svn-id: svn://localhost/ardour2/trunk@605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 13:36:11 +00:00
5de93617e3 Check for templates dir existence before adding bookmark
git-svn-id: svn://localhost/ardour2/trunk@604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 06:37:32 +00:00
952be81efe - Fixed templates install directory to <prefix>/share/ardour2
- Added system templates dir bookmark to NSD


git-svn-id: svn://localhost/ardour2/trunk@603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 04:49:40 +00:00
b5db1f624d Merged with trunk revision 600
git-svn-id: svn://localhost/ardour2/branches/midi@601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 01:34:54 +00:00
cfca8da3d8 use ardour libsndfile even for SYSLIBS
git-svn-id: svn://localhost/ardour2/trunk@600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 00:51:21 +00:00
Doug McLain
75508e90f0 Removed unused files from glade based NSD
git-svn-id: svn://localhost/ardour2/trunk@599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 00:49:16 +00:00
Doug McLain
fb308dcfa9 Removed debug code from ARDOUR_UI::toggle_UseHardwareMonitoring()
git-svn-id: svn://localhost/ardour2/trunk@598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 00:22:58 +00:00
Doug McLain
cec3b9adb7 Removed debug code from ARDOUR_UI::setup_config_options ()
git-svn-id: svn://localhost/ardour2/trunk@597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 00:14:53 +00:00
8faf722230 different test for libFLAC
git-svn-id: svn://localhost/ardour2/trunk@596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 23:56:03 +00:00
4fc63557fd stop FLAC test from stomping on USB configuration
git-svn-id: svn://localhost/ardour2/trunk@595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 23:28:35 +00:00
89621191fb attempted fix for FLAC-sensitive build of libsndfile - link FLAC into ardour if it exists
git-svn-id: svn://localhost/ardour2/trunk@594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 23:25:06 +00:00
da189e266e add specific libsndfile include path, but working this time
git-svn-id: svn://localhost/ardour2/trunk@593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 22:48:03 +00:00
fffa8c4175 add specific libsndfile include path
git-svn-id: svn://localhost/ardour2/trunk@592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 22:47:05 +00:00
a999381a84 more file add/remove ops related to sndfile changes
git-svn-id: svn://localhost/ardour2/trunk@591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 21:28:00 +00:00
aff241abf1 add missing files related to diskstream rename
git-svn-id: svn://localhost/ardour2/trunk@590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 21:23:40 +00:00
b09ab54654 use libsndfile for all audio file i/o, and rename DiskStream AudioDiskStream
git-svn-id: svn://localhost/ardour2/trunk@589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 21:17:32 +00:00
Hans Fugal
eb3f77df57 pulling trunk
git-svn-id: svn://localhost/ardour2/branches/undo@586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 18:37:57 +00:00
Taybin Rutkin
2387ef8bfb Fix for building on macosx.
git-svn-id: svn://localhost/ardour2/trunk@585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 18:15:39 +00:00
3c092755b2 add libsndfile
git-svn-id: svn://localhost/ardour2/trunk@584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 17:09:53 +00:00
81486cf7bd add libsndfile directory
git-svn-id: svn://localhost/ardour2/trunk@583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-14 17:05:39 +00:00