summaryrefslogtreecommitdiff
path: root/libs/backends
AgeCommit message (Collapse)Author
2015-12-08standardize port-namesRobin Gareus
2015-12-08fix previous commit.Robin Gareus
2015-12-08portaudio connect & graph-changed callbacks (untested)Robin Gareus
2015-12-05JACK: expose --nperiods optionRobin Gareus
2015-12-05fix -WreorderRobin Gareus
2015-12-05update ALSA backend: separate playback/capture periodsRobin Gareus
fixed: 2 for capture, configurable 2,3 for playback.
2015-12-04ALSA: allow to dynamically add/remove midi devices & update their latency.Robin Gareus
2015-12-04ALSA: allow to measure & set systemic audio latency w/o restart.Robin Gareus
(MIDI needs a bit more work)
2015-12-04implement ALSA period/cycle settingRobin Gareus
2015-12-02Fix latency compensation for audio data in portaudio backendTim Mayberry
For drivers that correctly report latency values(ASIO) this should result a much closer alignment of audio in a loopback test. Measurement and adjustment may still be needed, especially for non-ASIO drivers. Testing with the RME HDSP Multiface and Yamaha AG06 using ASIO drivers results in maximum offset of a couple of samples.
2015-12-02Use portaudio callback API by default in portaudio backendTim Mayberry
2015-12-02Rename member variables in Portaudio Backend for consistencyTim Mayberry
2015-12-02Rename blocking process function in portaudio backendTim Mayberry
2015-12-02Rename blocking thread function in portaudio backendTim Mayberry
2015-11-29NOOP, remove trailing whitespace, replace tabs in python scriptsRobin Gareus
2015-11-28add some midi-debug printf() to the dummy backendRobin Gareus
2015-11-19Fix windows build when using pthreads-win32 libraryTim Mayberry
2015-11-19Use a range of values for ASIO buffer sizes if provided by driverTim Mayberry
This has been tested on four devices: - A RME HDSP Multiface - A Yamaha AG06 - A Focusrite 2i2 - A built-in soundcard running ASIO4ALL The HDSP and the AG06 only return one buffer size when queried so the preferred size is used as before. The Focusrite returns a min corresponding to the position of the slider in the control dialog and the max is 1024. The granularity is 1 so this means that the number of values needs to be reduced for the current UI design with a combo box so the granularity is increased until there are around 8-9 buffer sizes to choose from evenly spaced between min and max(but we could easily change this if the UI changes etc). The ASIO4ALL driver returns a min of 64 and a max of 2048 and a granularity of 8. So where the minimum buffer size and granularity is a power of 2 use only buffer sizes that are power of 2. If the driver returns different values for min and max it is not currently possible to indicate which is the driver preferred value. A checkbox or other UI element could be added to the AudioSetup dialog to only use the preferred value but that is more work and perhaps not necessary.
2015-11-19Add support for callback API to portaudio backend but keep blocking API as ↵Tim Mayberry
default Don't use the callback API for now until further and wider testing.
2015-11-12fix edge-case in Dummy-backend random number generator initializationRobin Gareus
2015-10-28fix JACK/windows compilationRobin Gareus
2015-10-28use weak-jack's jack_port_rename wrapperRobin Gareus
This avoids "[ERROR]: JACK: jack_port_set_name: deprecated". if libjack does not have jack_port_rename(), weak_libjack.def provides a fallback using jack_port_set_name().
2015-10-10coreaudio: reset freewheeling after exportRobin Gareus
fixes lively with session-fadeout
2015-10-07Fix handling of Sysex messages with WinMME midi driverTim Mayberry
2015-10-06more debugging for MIDI input via WinMMEPaul Davis
2015-10-06add more debugging to portaudio/MME MIDI backendPaul Davis
2015-10-06Fix WinMME midi driver shutdown with sysex enabledTim Mayberry
midiInReset triggers the sysex callback to tell the application that it has finished with the buffer. Calling midiInAddBuffer results in an infinite loop so just return during shutdown.
2015-10-06Remove an unnecessary boolean argument in jack utilsTim Mayberry
Specify latency in JackCommandLineOptions instead
2015-10-05remove i/ofstream from libardourRobin Gareus
except: * audio-unit (ifstream is known to work on OSX) * evoral curve algorithm debugger * cycle-timer debug code * export_handler's CDMarker -> TODO
2015-10-05try enabling windows MME MIDI sysex supportPaul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from .cpp and .hpp files missed by ↵Paul Davis
previous commit
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-10-02use new error-messagesRobin Gareus
2015-10-02improve CoreAudio error reportingRobin Gareus
2015-10-01ALSA: update error-codes for HW initialization.Robin Gareus
2015-10-01Return meaningful error codes when ALSA backend fails to startTim Mayberry
Unfortunately it seems that in zita-alsa-pcmi doesn't set state() correctly in some cases. Setting an invalid SR doesn't display the correct error message, first guess would be that set_hwpar is failing and state() is not representative of the actual error.
2015-10-01Return meaningful error codes when PortaudioBackend fails to startTim Mayberry
So they can be used to give a contextual error message in the GUI
2015-10-01Use portaudio error codes in the PortaudioIO class.Tim Mayberry
Having error codes defined in PortaudioIO means it is not dependent on the ErrorCodes in AudioBackend but it doesn't really make sense to have another set, so just use the PA ones until they become insufficient.
2015-09-19Dummy: add a CC only test-sequenceRobin Gareus
2015-09-18MSVC projects - accommodate some modules that recently got moved or removedJohn Emmas
(mostly these got moved out of the PortAudio backend and into libpbd)
2015-09-16update reported DSP load for ALSA & DummyRobin Gareus
2015-09-16CoreAudio: use libardour provided DSP load calc.Robin Gareus
2015-09-16Use ARDOUR::DSPLoadCalculator in DummyBackendTim Mayberry
2015-09-16Use PBD::get_microseconds() from pbd/windows_timer_utils.h in DummyBackendTim Mayberry
2015-09-16Set max time of DSPLoadCalculator in every cycle in ALSA backendTim Mayberry
2015-09-16Use ARDOUR::DSPLoadCalculator in ALSA BackendTim Mayberry
2015-09-16De/Initialize MMCSS on windows in PBD::init/cleanup instead of in PA BackendTim Mayberry
2015-09-16Move Windows MMCSS related utility functions into libpbdTim Mayberry
2015-09-16Move MMCSS related utility functions into PBD namespaceTim Mayberry
In preparation for moving to libpbd