Commit graph

6668 commits

Author SHA1 Message Date
Paul Davis
a7961f04cf fix error in mingw version of realpath() 2013-12-05 17:43:15 -05:00
Paul Davis
ef2c1ff92f add (likely, partial) windows implementation of POSIX realpath() for COMPILER_MINGW where the latter is not available, to the only place realpath() is used 2013-12-05 17:40:21 -05:00
Paul Davis
550b991176 remove unnecessary recently-added include for realpath, which is not actively used 2013-12-05 17:39:41 -05:00
Paul Davis
e0cc10540d extra source no longer required 2013-12-05 17:24:39 -05:00
Paul Davis
bab60c2e8c we don't use realpath() anymore so there is need for a special mingw include 2013-12-05 17:23:18 -05:00
Paul Davis
c0e5506994 we don't use realpath() anymore so there is need for a special mingw include 2013-12-05 17:21:50 -05:00
Paul Davis
3144a81acb additional header needed for mingw build to get realpath() 2013-12-05 14:49:03 -05:00
Paul Davis
8970446d7e additional source file for mingw build 2013-12-05 14:48:45 -05:00
Paul Davis
597c9c9b25 make mingw-based pthread comparison function work with both 32 and 64 bit variants of mingw 2013-12-05 14:46:40 -05:00
Paul Davis
b7835cd7b1 workaround compilation issues with assembler in fpu code and mingw 2013-12-05 14:45:17 -05:00
Tim Mayberry
144f4cb423 Remove duplicate use of LIBARDOUR_API from Session class 2013-12-05 21:26:39 +10:00
Tim Mayberry
05e9f9d81c Remove old visibility.h header that is no longer in use 2013-12-05 21:25:09 +10:00
Tim Mayberry
2caad20a71 Use the correct visibility macros 2013-12-05 21:21:11 +10:00
Tim Mayberry
3a885d6177 Only use __declspec(dllimport/dllexport) for MSVC compiler
Use the gcc visibility attributes when building with the MinGW compiler(gcc).
GCC also supports the __declspec syntax but it will not compile at the moment
until the issues(which may not even be exactly the same issues as with MSVC)
are resolved.
2013-12-05 21:11:18 +10:00
Tim Mayberry
ccebb050e4 Fix compile when using external version of libltc 2013-12-05 20:57:36 +10:00
Paul Davis
2ba2a50dec Merge branch 'master' into windows 2013-12-04 11:50:36 -05:00
Paul Davis
ce7bfb489c change "cpu" in cpu load backend functions 2013-12-04 11:48:31 -05:00
Paul Davis
b2bc7cfbe1 change "cpu" in cpu load backend functions 2013-12-04 11:45:53 -05:00
Paul Davis
8648a8a13b fix up wscript/build issues in exportvis after merge with master 2013-12-03 11:51:25 -05:00
Paul Davis
0258f2958b switch from using Sleep/usleep to Glib::usleep() 2013-12-03 10:24:05 -05:00
Paul Davis
22175630bb Merge branch 'windowspush' of https://github.com/mojofunk/ardour into windows 2013-12-03 10:01:26 -05:00
Paul Davis
848e75aaea Merge branch 'master' into windows 2013-12-03 10:01:13 -05:00
Tim Mayberry
a420328354 Reinstate call to package config for JACK backend
Not sure how this got lost, merge perhaps.
2013-12-03 20:28:17 +10:00
Tim Mayberry
0f6a65e405 Use Sleep instead of usleep on windows in JACK backend 2013-12-03 20:28:10 +10:00
Paul Davis
ae6b0b9f1a minor tweaks to MIDI clock support, including delivery of position events/messages when stopped 2013-12-02 23:34:12 -05:00
Paul Davis
76ea055b85 don't run MIDI clock "tick" if session is silent (e.g. due to a locate) 2013-12-02 23:33:33 -05:00
Tim Mayberry
4a1b43b9d5 Replace non-portable printf format specifier
This caused Diskstream state to be restored incorrectly
2013-12-02 21:28:49 +10:00
Tim Mayberry
f74521b0cd Remove command line string quoting when forming jack command line on windows
This used to be necessary when we started the JACK server but now that we
write a .jackdrc it only causes problems.

I have fixed this before in some branch, must have been lost in a merge.
2013-12-02 21:28:19 +10:00
Tim Mayberry
ad906794b8 Fix pattern used to search for audio backends on windows
The audio backend dlls have a number postfix after the library/module name
2013-12-02 21:28:05 +10:00
Tim Mayberry
a9fc076d2e Waf options are not valid during build stage so use environment variable 2013-12-02 21:26:28 +10:00
Tim Mayberry
c3d2b1ea18 Use PBD::canonical_path instead of ::realpath
This is a previous change that seems to have been lost in master -> windows merge
2013-12-02 21:25:47 +10:00
Tim Mayberry
18a59dd7fa Include pbd/localtime_r.h in session_jack.cc for MinGW 2013-12-02 21:22:14 +10:00
Tim Mayberry
9b5440ec03 Use PBD::pthread_name in MTC_Slave for portability 2013-12-02 21:21:54 +10:00
Tim Mayberry
30da95b609 Remove duplicate ALSA pkgconfig 2013-12-02 21:21:25 +10:00
Tim Mayberry
e80d18b0b3 Revert unfinished export visibility commits by John Emmas
These break the mingw build and the visibility work will make this
code redundant
2013-12-02 21:18:29 +10:00
Tim Mayberry
796f39b967 Fix compilation on linux now that libardour no longer links to libjack
Similar change has already been made in master branch
2013-12-02 21:17:47 +10:00
Paul Davis
c19f9f8a47 fix continuous send of MIDI start/position/stop messages introduced by mistake 2013-12-01 12:18:57 -05:00
John Emmas
6bd36896e7 'libs/pbd' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date) 2013-12-01 14:26:08 +00:00
Paul Davis
3c98de9ce4 fix merge with master 2013-11-29 22:31:29 -05:00
Paul Davis
15cee60021 merge and resolve conflict with master 2013-11-29 22:29:25 -05:00
Paul Davis
d1cc7e5a50 fix up a bunch of confusion regarding the size/capacity/allocation of audio & midi buffers 2013-11-29 22:26:33 -05:00
Paul Davis
0c4457fa83 drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it 2013-11-29 22:25:36 -05:00
Paul Davis
146734526c fix indentation 2013-11-29 22:24:59 -05:00
Paul Davis
1190f1d0e0 make JACK backend return the right set of values when asked for buffer sizes or sample rate of a device other than the one in use 2013-11-27 17:41:54 -05:00
Paul Davis
680c64246e Merge branch 'master' into cairocanvas 2013-11-27 16:19:01 -05:00
Paul Davis
d63e8ba0e8 Merge branch 'master' into windows 2013-11-27 16:18:22 -05:00
Paul Davis
611d93830a add 0.5 second sleep after closing JACK connection so that next startup/connect is likely to work (allowing JACK time to shutdown). Ugh 2013-11-27 15:25:10 -05:00
Paul Davis
56716a1f28 add error check to call to PortManager::reestablish_ports 2013-11-27 15:24:24 -05:00
Paul Davis
dc4a984cd6 move AudioBackend::_start() into protected, and expand a bit on documenting ::start() vs ::_start() 2013-11-27 14:27:27 -05:00
Paul Davis
4d0caa6ddd add yet more missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh) 2013-11-27 14:08:22 -05:00