Commit graph

34 commits

Author SHA1 Message Date
Robin Gareus
5f7a41d413 add a Dummy Backend Loopback mode:
Conflicts:
	libs/backends/dummy/dummy_audiobackend.cc
	libs/backends/dummy/dummy_audiobackend.h
2014-10-16 05:34:43 -04:00
Robin Gareus
d8638c5413 change dummy backend to default to _("Silence"). 2014-09-17 07:06:05 -04:00
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
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
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
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
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
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
206b9acb5f DummyBackend: fix midi event mux+sorting 2014-08-16 18:00:48 -04:00
Robin Gareus
33b19c61d5 Dummy backend, revise small things 2014-08-16 18:00:01 -04:00
Robin Gareus
3d9498e351 dummy-backend, fix physical ports in/out convention. 2014-08-16 17:59:56 -04:00
Robin Gareus
83d1838c12 allow to switch from/to dummy-backend
partos of this may become unnecessary once
libardour handles backend changes properly^Wdifferently.
2014-08-16 17:13:46 -04:00
Robin Gareus
2d3687a316 DummyBackend: implement port connect_callback() 2014-08-16 17:13:41 -04:00
Robin Gareus
253fb8f4a6 replace gettimeofday() with g_get_monotonic_time() 2014-08-16 16:49:07 -04:00
Robin Gareus
c9157e00d3 DummyAudioBackend: configurable number of MIDI ports 2014-08-16 16:46:48 -04:00
Robin Gareus
655f78fc65 DummyAudioBackend: prepare configurable number of midi ports 2014-08-16 16:46:43 -04:00
Tim Mayberry
a6ba28cfcc Use Glib::usleep in DummyAudioBackend rather than ::usleep 2014-08-16 16:38:04 -04:00
Tim Mayberry
41caadbe7c 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-08-16 16:37:57 -04:00
Paul Davis
b7d2338351 Add AudioBackend::info() method to retrieve AudioBackendInfo object
Goal is to be able to call AudioBackendInfo::already_configured() from the right place.

Conflicts:
	libs/backends/jack/jack_api.cc
	libs/backends/jack/jack_audiobackend.cc
	libs/backends/jack/jack_audiobackend.h
	libs/backends/wavesaudio/waves_audiobackend.cc
2014-08-16 16:17:48 -04:00
Robin Gareus
e9caa2f81c DummyAudioBackend: fix freewheelin' typo 2014-08-16 16:11:24 -04:00
Robin Gareus
96be646607 DummyAudioBackend: implement /fake/ system ports 2014-08-16 16:10:50 -04:00
Robin Gareus
326729a78f DummyAudioBackend: NOOP, white-space, clarify variable name & casts 2014-08-16 16:10:45 -04:00
Paul Davis
937c0764be finish unfinished work at basing all install paths on the program name
Conflicts:
	libs/backends/jack/wscript
	libs/backends/wavesaudio/wscript
	libs/canvas/wscript
	wscript
2014-08-16 16:10:15 -04:00
Robin Gareus
587b6e21e7 DummyAudioBackend: port-engine, midi-buffers and the rest of it 2014-08-16 16:02:30 -04:00
Robin Gareus
e646eb998a DummyAudioBackend: basic process threads and support structure 2014-08-16 16:02:19 -04:00
Robin Gareus
6b750f5e46 skeleton dummy audio-engine
Conflicts:
	libs/backends/wscript
2014-08-16 16:02:02 -04:00