summaryrefslogtreecommitdiff
path: root/libs/backends/jack/jack_utils.cc
AgeCommit message (Collapse)Author
2017-08-23backends: jack: display playback only devicesStefan Müller-Klieser
When starting ardour using the jack backend, playback only devices currently do not get displayed. Mixing and Mastering only workspaces with e.g. a single USB Dac should be a common use case. Take this use case into account by adding them to the device list. Tested on Linux with jack-alsa.
2017-04-19Use PBD::to_string() from pbd/string_convert.h in JACK utilsTim Mayberry
Use pbd/string_convert.h API instead of std::ostream for numeric formatting to remain locale independent and not have to use a LocaleGuard.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
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-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-08-11fix jack startup on OSX (w/midi)Robin Gareus
2015-03-28Backend - change midi optons string.nick_m
Multimedia Extensions -> System MIDI (MME)
2015-03-13only jack+windows use portaudio.Robin Gareus
fixes missing lib if portaudio-backend is used on on non-windows platforms (pkg-config defines HAVE_PORTAUDIO)
2015-03-03Change order of midi entries so a new backend will default to a working midi ↵Ben Loftis
system. Needs testing on all platforms.
2015-01-14JACK: add support for device names with whitespaceRobin Gareus
This is backwards compatible, quotes are only added if needed. JACK1 < 0.123.1-30 and JACK2 < 1.9.10-25 fail with either whitespace or quotes, so nothing is lost.
2014-10-23weak/runtime jack linking: load libjack dynamically at runtimeRobin Gareus
2014-06-25Use PBD::find_files_matching_pattern instead of other variationsTim Mayberry
2014-06-04break out ALSA related functions into libardouralsautilRobin Gareus
2014-06-03Revert "When writing '.jackdrc' make sure we enclose any device names inPaul Davis
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 5626ea2b1f480bcdd5413c041ee9921fc299ab80.
2014-06-03When writing '.jackdrc' make sure we enclose any device names in quotation marksJohn Emmas
(in Windows, device names almost always contain whitespace)
2014-05-27(Windows) Add support for finding the bundled version of Jack which comes ↵John Emmas
with Mixbus A few things need to be tested / completed:- 1) The code is currently guarded by #ifdef COMPILER_MSVC. This is just precautionary. If it builds okay with MinGW ,the guard can be removed. 2) Windows Playback and Capture devices almost always have different names. This needs to get accommodated in our Backend dialog (as in Mixbus) 3) Windows Playback and Capture devices will almost always contain spaces. We need to accommodate this when writing to .jackdrc (surround them in quote marks)
2014-05-27Remove an unnecessary #defineJohn Emmas
2014-05-27Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other ↵John Emmas
libraries
2013-12-02Remove command line string quoting when forming jack command line on windowsTim Mayberry
This used to be necessary when we started the JACK server but now that we write a .jackdrc it only causes problems. I have fixed this before in some branch, must have been lost in a merge.
2013-11-26resolve merge with master (?)Paul Davis
2013-10-23Don't ever pass -d for device name to dummy jackd driverColin Fletcher
2013-10-23Fix setting playback & capture channel counts for jackd dummy backend.Colin Fletcher
Unlike all the other jack backends which allow setting the number of inputs and outputs with -i & -o, the dummy backend uses -P & -C for this. Make the jackd command line use these options when the dummy backend is requested with a specified input or output channel count.
2013-10-23Don't fail jackd command line creation for jack dummy backend.Colin Fletcher
The dummy jackd backend doesn't require a device to be specified, so much of the error checking in get_jack_command_line_string() is irrelevant, if not actively wrong, when the dummy backend is specified. Only perform the checks if the chosen jack backend is not the dummy.
2013-10-16Merge branch 'master' into windowsPaul Davis
2013-10-15fix up issues with MIDI I/O option when using jack1 or jack2's most recent ↵Paul Davis
options for this
2013-10-15Merge branch 'master' into windowsPaul Davis
2013-10-12adapt JACK audiobackend to pay attention to new _start() API related to ↵Paul Davis
latency measurement
2013-10-10some slightly hackish changes to make it possible to use the new internal ↵Paul Davis
ALSA midi client (soon to become a driver, however)
2013-10-10add JACK backend support for MIDI option discoveryPaul Davis
2013-09-12merge with master and fix Searchpath conflictPaul Davis
2013-09-11always add a timeout value of 200msec to jack, just like qjackctl does.Paul Davis
THIS IS A HACK. LONG TERM GOAL: understand why ardour gets zombified on the way up.
2013-09-07move JACK audio backend to its own folder and adjust build system to reflect ↵Paul Davis
that (installed version may now work)