Commit graph

38 commits

Author SHA1 Message Date
Robin Gareus
fc68ed656f ALSA|Dummy: ignore port unregistration when engine is stopped
When changing Engine parameters, ardour first stops
the engine and only later when re-etablishing ports
unregisters/re-registers them.

ALSA: silently ignore port unregs and silently accept registrations
Dummy: print a PBD::info message,
2014-09-17 07:06:04 -04:00
Robin Gareus
70f0163266 ALSA|Dummy Backend: do as jack does:
when the backend is closed, unregister all ports.
2014-09-17 07:06:04 -04:00
Paul Davis
696dee9607 fix ALSA backend for modified API 2014-09-04 10:50:43 -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
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
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
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
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
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
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