Commit Graph

8683 Commits

Author SHA1 Message Date
Robin Gareus
f842e8af23 yet another meter+monitoring detail:
"explicit Monitor DISK" + "Transport Stop" + "not track rec-en"
 -> meter is always zero
2013-07-16 20:37:30 +02:00
John Emmas
e257b79ecd 'libs/pbd/file_utils.cc' didn't apply cleanly for some reason 2013-07-16 19:13:18 +01:00
Robin Gareus
ebcb1ffe7b Merge branch 'clang' of https://github.com/axetota/ardour 2013-07-16 19:49:50 +02:00
Robin Gareus
2231db91cd fix metering states 34, 38, 49, 50, 53 and 54
for state descriptions see
http://www.oofus.co.uk/ardour/Ardour3MonitorModesV3.pdf
2013-07-16 19:37:36 +02:00
Robin Gareus
c456166dd1 zero meters for inactive tracks 2013-07-16 19:36:57 +02:00
John Emmas
7b480eaa27 Windows (compiler specific) includes for libpbd 2013-07-16 18:00:49 +01:00
Robin Gareus
a716f3c55a RMS meter - reset after calculating new data 2013-07-16 16:25:27 +02:00
Robin Gareus
e9289a19c8 fix "monitor mode 11"
see http://www.oofus.co.uk/ardour/Ardour3MonitorModesV2.pdf
the overall logic can probably be simplified somewhat
track-rec-enable on -> always monitor input
2013-07-16 16:04:41 +02:00
Robin Gareus
9a25fcbfe1 fix input metering:
if meter==input, meter depends on In/Disk
see also 29108187ed
2013-07-16 15:25:23 +02:00
Michael R. Fisher
066df0d218 Temporary OSX/Clang/C++11 workaround
- Adds a directive that includes <vector> upon specific conditions
- WIP
2013-07-15 22:57:35 -05:00
Michael R. Fisher
bf153e58a5 C++11 Building - Use new style struct field inititializing
- clang with std=c++11 enabled was failing here
2013-07-15 22:57:34 -05:00
Michael R. Fisher
65eb0b845f Include evoral/Note.hpp before pbd/compose.h
- This workaround prevents a clang compiler error about template
  visibility
2013-07-15 22:57:34 -05:00
Michael R. Fisher
693713ecdb Allow compiling with c++11 enabled 2013-07-15 22:57:34 -05:00
Michael R. Fisher
5e739dbfc1 Typo fixed: call class method instead of trying to use as a variable 2013-07-15 22:57:34 -05:00
Paul Davis
9cb678ebcc finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful 2013-07-15 22:23:16 -04:00
Paul Davis
90f5eb4a31 more plugin state debugging 2013-07-15 20:43:44 -04:00
Paul Davis
332deec155 tweaks to NO_PLUGIN_STATE logic 2013-07-15 20:43:44 -04:00
Robin Gareus
9f6d97376d add option to disable cairo-RGBA overlays for meters. 2013-07-16 00:56:36 +02:00
Paul Davis
15be154515 use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files 2013-07-15 14:29:00 -04:00
Paul Davis
00ae5492f4 (reapply with fixes) Build system changes to support mingw build target 2013-07-15 13:43:17 -04:00
Paul Davis
96ea407d1a Revert "Build system changes to support mingw build target"
This reverts commit 94145732f3.
2013-07-15 13:21:22 -04:00
Paul Davis
94145732f3 Build system changes to support mingw build target 2013-07-15 13:16:09 -04:00
Paul Davis
020ca43ed0 add and Update mutex test that is no longer necessary now that glib has been fixed 2013-07-15 12:53:16 -04:00
Paul Davis
a8647faca7 Add JACK utility functions in libardour and test
This contains much of the code present in the GUI EngineDialog class
but refactored with some added windows bits.
2013-07-15 12:46:35 -04:00
Paul Davis
3e1c66f946 Use g_stat in AudioSource::initialize_peakfile for portability 2013-07-15 12:41:53 -04:00
Paul Davis
4a8aadbbdf Use g_rename in AudioSource::rename_peakfile for portability 2013-07-15 12:41:24 -04:00
Paul Davis
dca2774508 Use g_utime for portability in AudioSource::touch_peakfile 2013-07-15 12:41:01 -04:00
Paul Davis
ea0e42dee7 Use g_stat in AudioSource::touch_peakfile for portability 2013-07-15 12:40:34 -04:00
Paul Davis
81dbc20bac Add basic test for PluginManager and LADSPA plugins 2013-07-15 12:40:06 -04:00
Paul Davis
83e05ec0ec Use ARDOUR::ladspa_search_path and PBD::find_matching_files to find LADSPA modules 2013-07-15 12:38:03 -04:00
Paul Davis
5bc4e54b7d Add ARDOUR::ladspa_search_path function to get LADSPA module directories 2013-07-15 08:08:09 -04:00
Paul Davis
2c7a1179c6 Fix finding panner modules on windows by looking for files with *.dll extension 2013-07-15 08:07:12 -04:00
Paul Davis
49edb90484 Add ladspa directory name to directory names 2013-07-15 08:06:39 -04:00
Paul Davis
c00e03cced Don't include jack/weakjack.h header when compiling for windows 2013-07-15 08:06:09 -04:00
Paul Davis
43f7813b24 Fix portability of Session::source_search_path 2013-07-15 08:05:37 -04:00
Paul Davis
f08d9591e6 Fix reading and writing of files on windows in PBD::FileManager 2013-07-15 07:55:36 -04:00
Paul Davis
542c4b024e Don't use errno after g_file_test on windows 2013-07-15 07:55:01 -04:00
Paul Davis
5131b8300f Use g_open instead of ::open in PBD::FileManager
g_open is a macro that evaluates to ::open on linux(and mac) so this
is only a change for windows.
2013-07-15 07:54:29 -04:00
Paul Davis
db3edc4018 Use ::write instead of pwrite in AudioSource::compute_and_write_peaks for portability
This destroys the atomicity of pwrite() and thus suggests that we should do something else to ensure
that multithread access to peakfiles (if it does in fact exist) is safe. OTOH, there may be no
such thing, since they are designed for the GUI, which is single threaded (for now)
2013-07-15 07:53:45 -04:00
Paul Davis
13a0f14db7 Use ::read instead of pread in AudioSource::read_peaks for portability
This destroys the atomicity of pread() and thus suggests that we should do something else to ensure
that multithread access to peakfiles (if it does in fact exist) is safe. OTOH, there may be no
such thing, since they are designed for the GUI, which is single threaded (for now)
2013-07-15 07:52:37 -04:00
Michael R. Fisher
453713178f Housekeeping 2013-07-14 21:40:20 -05:00
Michael R. Fisher
be44b3c37b set the flag true 2013-07-14 21:22:34 -05:00
Michael R. Fisher
e487814e9d Lazily load bundled LV2 plugins in LV2PluginInfo::discover()
- Do this instead of finding them in the static ctor of LV2World
- Prevents usage of ARDOUR_DLL_PATH environment variable before
  it is set in main(...)
2013-07-14 21:19:59 -05:00
Michael R. Fisher
879bab6a53 Formatting only. 2013-07-14 21:16:08 -05:00
Michael R. Fisher
23bf9b11c6 Use a static string variable for dll path.
Making this consistent with all other funtions in this file.
2013-07-14 21:06:25 -05:00
Robin Gareus
c37040ef01 expand tabs to spaces in wscript 2013-07-14 19:39:24 +02:00
Paul Davis
0aac62e013 Merge branch 'master' into windows 2013-07-14 08:27:22 -04:00
Paul Davis
394f2b3ca7 Use boost::scoped_array in AudioSource::compute_and_write_peaks 2013-07-13 17:44:16 -04:00
Paul Davis
90c2a1c69d Use boost::scoped_array in AudioSource::build_peaks_from_scratch 2013-07-13 17:43:36 -04:00
Paul Davis
ebdf73a077 Remove use of goto in AudioSource::read_peaks 2013-07-13 17:43:00 -04:00