Commit graph

6842 commits

Author SHA1 Message Date
Robin Gareus
1e3a955fc0 fix bounce with processing (thread buffers) fixes #5920 2014-05-25 08:23:36 +02:00
Robin Gareus
c022f32bcd allow to switch from/to dummy-backend
partos of this may become unnecessary once
libardour handles backend changes properly^Wdifferently.
2014-05-25 00:23:14 +02:00
Robin Gareus
2b9fa31241 DummyBackend: implement port connect_callback() 2014-05-25 00:21:44 +02:00
Colin Fletcher
4153f4dd57 Initialise _soundcloud_upload to false in ExportFormatSpecification 2014-05-23 20:21:56 +01:00
Robin Gareus
4347ceb173 fix for OSX 10.0/clang (missing symbol) by cth 2014-05-23 20:49:21 +02:00
Colin Fletcher
aa318a2fc3 Add and use a DEBUG flag for Soundcloud uploads.
Replace output to stdout/stderr from Soundcloud upload functions with
DEBUG_TRACE (DEBUG::Soundcloud, ...).
2014-05-23 19:36:47 +01:00
Colin Fletcher
10ed21a498 Set 'downloadable' property on Soundcloud uploads
Set the downloadable property according to what the user chose on files
uploaded to Soundcloud.
2014-05-23 18:59:53 +01:00
Colin Fletcher
29f0ad473f Show URI of file uploaded to Soundcloud in log window. 2014-05-23 18:47:33 +01:00
Colin Fletcher
b49e398250 Visual tweaks to Soundcloud panel
Re-arrange the items in the Soundcloud panel into a more sensible order &
arrangement, and add a (not-yet functional) tick-box to set the uploaded
files to be downloadable.
2014-05-23 18:45:40 +01:00
Colin Fletcher
84bcf59812 Better names for Soundcloud-related members of ExportHandler
Rename the Soundcloud-related members of ExportHandler to all begin with
soundcloud_, and rename a couple of members of SoundcloudExportSelector
too for consistency.
2014-05-23 18:33:43 +01:00
Colin Fletcher
9daab3db84 Make Soundcloud upload applicable to any export format.
Add soundcloud_upload property back into ExportFormatSpecification, but
instead of making it settable in the export format specification dialog,
add a tick-box in each tab of ExportFileNotebook to allow setting it.
2014-05-23 18:14:37 +01:00
Colin Fletcher
2f6debf0d2 Remove Soundcloud upload from export format specification
Remove the Soundcloud upload property from export formats - it doesn't
belong there, since it's a thing which can apply (or not) to any format
preset.
2014-05-23 17:42:35 +01:00
Robin Gareus
f1beb02606 add GPLv2 to exec_wrapper 2014-05-22 23:44:28 +02:00
John Emmas
43b4577212 waves_backend (MSVC project) - Adapt for using Waves's (customized) portaudio_x86 library (Windows) 2014-05-21 12:50:31 +01:00
John Emmas
e36a8df16e jack_backend (MSVC project) - Adapt for using portaudio_x86 library (Windows) 2014-05-21 12:49:24 +01:00
John Emmas
4d24ca3f0c Add newly introduced sources to MSVC projects
(SoundCloud export stuff)
2014-05-21 12:47:03 +01:00
John Emmas
a47f9084db Use Glib::usleep() for consistency 2014-05-21 12:45:13 +01:00
Robin Gareus
10a52f1d19 enforce style-guide #3, #26 and #27 2014-05-21 02:25:45 +02:00
Robin Gareus
9d6cfd67c3 CoreMidi is also needed on OSX.6 2014-05-21 02:17:35 +02:00
Robin Gareus
81d8eaa216 fix type typo 2014-05-21 00:19:15 +02:00
Colin Fletcher
bc8ccea212 remove debug output from system_exec
remove the debug output from pbd/system_exec: it's of no further use, and
also breaks optimised builds.
2014-05-19 22:49:22 +01:00
Paul Davis
0de7c8920b Merge branch 'mingw-updates' of https://github.com/mojofunk/ardour into cairocanvas 2014-05-19 17:19:43 -04:00
Colin Fletcher
5399425f53 Merge branch 'export-dialog' into cairocanvas
Fix merge conflicts in:
	gtk2_ardour/export_range_markers_dialog.cc
	gtk2_ardour/wscript
	libs/ardour/ardour/export_handler.h
	libs/ardour/system_exec.cc
	libs/pbd/pbd/system_exec.h
	libs/pbd/system_exec.cc
2014-05-19 20:54:36 +01:00
Colin Fletcher
65dc32f9ec Add back libardour wrappers for PBD::SystemExec
Add back ARDOUR::SystemExec wrapper for PBD::SystemExec, and add
constructor for command line with parameter substitution.
2014-05-18 23:26:27 +01:00
Colin Fletcher
ba08ae9641 Use ARDOUR namespace for SystemExec
Explicitly use ARDOUR::SystemExec, and #include the right header for it
too.
2014-05-18 22:34:04 +01:00
Colin Fletcher
7c4259133d SystemExec: copy last argument from command line to argv[]
Make sure to copy any part of the command line after the last delimiter
to argv[] when creating a SystemExec with an escaped command line.
2014-05-18 20:49:58 +01:00
Robin Gareus
205b5d97d5 partial fix for #5871 - midi-buffer size 2014-05-17 22:13:03 +02:00
Robin Gareus
19d99d4bc5 vst - fix effGetParameterProperties; label may be unset. 2014-05-17 17:01:02 +02:00
Robin Gareus
8b27c122b6 vst-scanner app: properly init and use libpbd's Transmitter 2014-05-17 16:54:12 +02:00
Robin Gareus
f3349a797c more gettimeofday() -> g_get_monotonic_time() 2014-05-16 19:58:46 +02:00
Robin Gareus
5fba8a2015 and one more gettimeofday() transition (mackie timers) 2014-05-16 18:35:42 +02:00
Robin Gareus
030a8f189d yet another gettimeofday() removal (glibmm idle) 2014-05-16 18:34:59 +02:00
Robin Gareus
827388ffdd outline portable implementation to replace clock_gettime() 2014-05-16 18:19:41 +02:00
Robin Gareus
4ece16be8e replace gettimeofday() with g_get_monotonic_time() 2014-05-16 18:13:08 +02:00
Robin Gareus
51d0792f14 DummyAudioBackend: configurable number of MIDI ports 2014-05-16 00:41:35 +02:00
Robin Gareus
cf8399c1c1 DummyAudioBackend: prepare configurable number of midi ports 2014-05-15 01:18:16 +02:00
Robin Gareus
4c2f1489f4 fix midi output on audio-tracks (e.g. audio->midi plugins) 2014-05-15 01:18:16 +02:00
Devin J. Pohly
16cbecf193 don't use llrint on already-integral variables
This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.
2014-05-14 12:11:14 -04:00
Devin J. Pohly
0aa2ed582a fix accumulated rounding error in BBT grid
Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
2014-05-14 12:11:05 -04:00
Devin J. Pohly
cd0ac04080 don't use llrint on already-integral variables
This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.
2014-05-14 02:59:25 -04:00
Devin J. Pohly
d067e27762 fix accumulated rounding error in BBT grid
Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
2014-05-14 02:54:01 -04:00
Tim Mayberry
6bf8249b4b Use Glib::usleep in DummyAudioBackend rather than ::usleep 2014-05-14 09:48:43 +10:00
Tim Mayberry
b565357bf4 Remove incorrect code for mingw in DummyAudioBackend::in_process_thread
I'm assuming this section was copied from the JackAudioBackend where the
thread type is not pthread_t for mingw, but in the DummyAudioBackend it
is.
2014-05-14 09:48:33 +10:00
Tim Mayberry
e4442b45cf Use COMPILER_MINGW define rather than __MINGW64__
This is necessary to build with win32 target using mingw-w64 version
on Fedora 19
2014-05-14 09:47:40 +10:00
Tim Mayberry
86a0f10ac7 Reinstate code removed that allows building with mingw and the pthreads-win32 library
Newer versions of mingw-w64 can be built with an included pthread implementation
called winpthreads which uses an integer type for pthread_t but pthreads-win32 does
not.
2014-05-14 09:47:40 +10:00
Tim Mayberry
b895a8f631 Always link to ole32 when building with mingw for get_win_special_folder
needed for CoTaskMemFree in get_win_special_folder
2014-05-14 09:47:40 +10:00
Tim Mayberry
9cde7b6051 Fix pattern to match possible audio backends on windows 2014-05-14 09:47:40 +10:00
John Emmas
f075981330 Bug fix imported from Mixbus2 (SVN r11025)
Fix a crashing bug when trying to launch in a non-English locale (possibly only affects Windows)
2014-05-10 08:35:27 +01:00
Paul Davis
e99c8960c0 first pass at tightening up waveform drawing algorithm to generally round down when dealing with fractional pixels 2014-05-07 10:35:50 -04:00
Robin Gareus
6142c814bf provide plugins with all available buffers.
e.g. Audio in -> Midi out plugins (on an audio-track).
Midi-buffers do exist in the route but no corresponding
(physical) Input port-buffer exists and ardour crashed.

Now, the plugin itself still only accesses the mapped ports
(ChanMapping), but the mapped buffers are at most
"processor_max_streams" and at least the required
in+out buffers for the plugin.
2014-05-06 23:34:34 +02:00