Commit graph

346 commits

Author SHA1 Message Date
Robin Gareus
cb05a5a683 DummyBackend: add Uniform White Noise Generator. 2014-08-17 21:14:08 -04:00
Robin Gareus
172774c76d Dummy Backend: optimize random-number implementation 2014-08-17 20:44:11 -04:00
Robin Gareus
2e63956536 fix and optimize DummyBackend generators
* use Wavetable for sine
* lock generator (concurrency issue)
* always initialize variables
2014-08-17 20:44:06 -04:00
Robin Gareus
ccd8c0af27 add signal generator modules to Dummy Backend. 2014-08-17 20:43:00 -04:00
Tim Mayberry
dbcc1f1d39 Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.

Conflicts:
	gtk2_ardour/about.cc
	gtk2_ardour/session_dialog.cc
	libs/pbd/system_exec.cc
2014-08-17 18:36:02 -04:00
Tim Mayberry
093fb77b88 Use PBD::find_files_matching_pattern instead of other variations 2014-08-17 18:12:40 -04:00
Robin Gareus
887dc842ef don't let enumerated device list strings go out of scope. 2014-08-17 18:07:10 -04:00
Robin Gareus
f56564258e statically allocate midi-options
fixes possible segfault when the data in the vector
goes out of scope due to RVO.
2014-08-17 18:07:04 -04:00
Robin Gareus
c18826b858 ALSA-backend: dedicated Midi-Buffer n-periods (only use for HW output) 2014-08-17 17:44:23 -04:00
John Emmas
c7240fa01d Rename all 3 backends for the MSVC sln file 2014-08-17 17:43:46 -04:00
John Emmas
32503e1585 Rename dummy backend to match Tim's name 2014-08-17 17:43:27 -04:00
John Emmas
53d387398b Rename jack backend to match Tim's name 2014-08-17 17:43:21 -04:00
John Emmas
211bfda0a5 Rename waves backend to match Tim's name 2014-08-17 17:43:14 -04:00
Robin Gareus
eeca22c67a virtual abstraction of Alsa Raw+Seq 2014-08-17 17:42:45 -04:00
Robin Gareus
048d127208 prepare ALSA sequencer 2014-08-17 17:42:39 -04:00
Robin Gareus
f2c98d886b rework raw-midi drain strategy (workaround for sync devices) 2014-08-17 16:26:46 -04:00
Robin Gareus
69b3c622c5 remove debug output 2014-08-17 15:31:18 -04:00
Robin Gareus
9434d7becf more alsa-midi debugging 2014-08-17 15:31:07 -04:00
Robin Gareus
4416bed4f8 ALSA backend: set latencies to zero when measuring latency 2014-08-17 15:22:45 -04:00
Robin Gareus
74bd058c73 update ALSA backend, MIDI device config 2014-08-17 15:20:49 -04:00
Robin Gareus
0e6b9e25c3 add AudioEngine API to configure individual MIDI devices 2014-08-17 15:19:55 -04:00
Robin Gareus
1501726cd5 add latency callback to dummy backend 2014-08-17 15:05:31 -04:00
Robin Gareus
102c0766c0 some misc tweaks to the ALSA Backend 2014-08-17 14:58:04 -04:00
Robin Gareus
57e56346ed ALSA Backend: align midi output buffer with n_periods (currently 2) 2014-08-17 14:55:50 -04:00
Robin Gareus
d472999ef0 ALSA backend: separate systemic audio+midi latency 2014-08-17 14:55:07 -04:00
Robin Gareus
99642bede1 ALSA rt-thread priority fixes 2014-08-17 14:54:51 -04:00
Robin Gareus
f85282aeec ALSA backend: prevent possible crash destruction of a-r-d 2014-08-17 14:54:46 -04:00
Robin Gareus
58a1f32130 ALSA & Dummy: implement port [un]registration_callback 2014-08-17 14:54:40 -04:00
Tim Mayberry
3a4ae0a296 Don't use module versioning with dummy backend when building with mingw 2014-08-17 14:54:16 -04:00
Tim Mayberry
d3cf4e3986 Don't use module versioning with jack backend in the mingw build 2014-08-17 14:54:09 -04:00
Robin Gareus
96c06b3fc0 alsa + dummy backend, proper [re]initialization 2014-08-17 14:50:31 -04:00
Robin Gareus
46f0e7dead properly setup port system latency for Dummy & ALSA backend 2014-08-17 14:50:20 -04:00
Robin Gareus
54ab147ac2 pass ardour's pid to the device reservation script.
terminate a-r-d when ardour crashes or exits unexpectedly.
2014-08-17 14:46:28 -04:00
Robin Gareus
edcd5c52bc ALSA backend: require both in+output. 2014-08-17 13:47:58 -04:00
Robin Gareus
0913f33183 DBus ALSA device reservation 2014-08-17 13:47:30 -04:00
Robin Gareus
feb1a9e269 break out ALSA related functions into libardouralsautil 2014-08-17 13:47:14 -04:00
Robin Gareus
ed7c8de1a9 ALSA: tentative hack to request audio-device. 2014-08-17 13:47:09 -04:00
Robin Gareus
3ec8621f1e ALSA backend: engine.halted_callback if the process thread dies 2014-08-17 13:47:02 -04:00
Robin Gareus
1300bcb210 if the user chooses to stop the jack-backend, mark it as stopped. Don't display the "..was shutdown .. was not fast enough.." message. 2014-08-17 13:46:54 -04:00
Robin Gareus
87ca02d7ad Revert "Revert "ALSA backend: separate flags for is-running and should-be-running""
sorry, c/p error
This reverts commit 9658b77327.
2014-08-17 13:46:09 -04:00
Robin Gareus
a79273f681 Revert "ALSA backend: separate flags for is-running and should-be-running"
Theoretically one could alter the plugins after a delivery even on a
frozen track. ..or even change settings, the ordering and add/remove
plugins after the frozen part of a track.

We won't go there. Frozen is frozen. this API is not needed after all.

This reverts commit 6d89488d64.
2014-08-17 13:46:02 -04:00
Robin Gareus
870d17399e ALSA backend: separate flags for is-running and should-be-running 2014-08-17 13:45:56 -04:00
Robin Gareus
c65e827969 ALSABackend: elaborate on start-up error cases 2014-08-17 13:45:34 -04:00
Paul Davis
88c511f2d1 Revert "When writing '.jackdrc' make sure we enclose any device names in
quotation marks". This patch is incorrect. The string quoting must be done ONLY
when creating a string to be written to ~/.jackdrc or similar, not when
constructing an argument list.

This reverts commit 5626ea2b1f.
2014-08-17 13:45:19 -04:00
John Emmas
1d945f26be When writing '.jackdrc' make sure we enclose any device names in quotation marks
(in Windows, device names almost always contain whitespace)
2014-08-16 21:48:07 -04:00
Robin Gareus
55c4c3d819 ALSA backend: tweak midi parser (fix start mid sequence) 2014-08-16 21:47:48 -04:00
Robin Gareus
151a410a13 ALSA backend: device detection 2014-08-16 21:47:40 -04:00
Robin Gareus
a5e1cbda85 ALSA backend: add raw midi parser 2014-08-16 21:44:58 -04:00
Robin Gareus
78d967d48c ALSA backend: raw midi prototype 2014-08-16 21:44:51 -04:00
Robin Gareus
c90428b5b8 ALSA backend (based on Dummy backend and zita-alsa-pcmi)
Conflicts:
	gtk2_ardour/ardev_common.sh.in
	libs/backends/wscript
2014-08-16 21:44:42 -04:00