Commit Graph

3757 Commits

Author SHA1 Message Date
falkTX aeb68878d5 Adjust doxygen config (import patch from Fedora) 2019-10-28 11:38:21 +01:00
Guido Aulisi a71bc0b75a Fix warning: catching polymorphic type ‘class std::exception’ by value 2019-10-28 11:25:42 +01:00
Luciano Iam a5093f06ca Rename PortSetDeviceMetadata to PortSetDefaultMetadata 2019-10-28 11:24:12 +01:00
falkTX 0fefdf8b6c Fix build under mixed mode
Closes #508
2019-10-28 11:19:44 +01:00
falkTX f19176657c Fix blocking DBus device reservation, so it plays nice with others 2019-10-28 11:16:09 +01:00
Guido Aulisi 5286020560 Fix compilation on ARM
size_t i is needed if HAVE_EXECINFO_H is defined
2019-10-11 10:09:45 +01:00
falkTX ef6ee6a049
Merge branch 'master' into develop 2019-10-06 23:22:40 +01:00
falkTX 37250ff470
Use strncpy in some calls for alsa_rawmidi.c
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 23:02:59 +01:00
falkTX 3c340b8154
Merge branch 'master' into develop
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:52:31 +01:00
falkTX 401fbe9fa9
Start of 1.9.14 development
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:26:14 +01:00
falkTX b965b5d052
Update ChangeLog
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:25:01 +01:00
falkTX f0400a46f7
Update ChangeLog
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:12:05 +01:00
falkTX 294d0ffd96
Only trigger property callback on close if there is 1 or more
Also document this usecase

Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:05:41 +01:00
falkTX 77ac455d49
Cleanup whitespace
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 19:34:16 +01:00
falkTX 630c303533 Fix build issue triggered by last branch merge 2019-10-06 16:50:13 +01:00
falkTX e2d863ccea Merge branch 'develop' of github.com:jackaudio/jack2 into develop 2019-10-05 21:54:15 +01:00
falkTX 8dd23d2d13
Merge branch 'metadata-keys' into develop
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-05 21:53:45 +01:00
falkTX 97d2ad9e4c
Add a few comments to metadata keys, old stuff from Paul Davis
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-05 21:51:49 +01:00
Luciano Iam ab536f67bc Rename system_midi:* back to system:midi_* 2019-10-05 21:27:37 +01:00
Luciano Iam 0f015fc53b Set pretty-name for ALSA seq MIDI ports 2019-10-05 21:27:37 +01:00
Luciano Iam a11fa07e5e Set pretty-name for ALSA raw MIDI ports 2019-10-05 21:27:37 +01:00
falkTX c8fd3f6a0f
Set "seq" alsa midi driver to maximum resolution possible
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-05 21:17:42 +01:00
falkTX fdfe11cf96 evmon.c: fix function prototype 2019-09-25 03:06:49 +01:00
falkTX 9a5dbf26a7 Remove all port properties when unregistering 2019-09-25 03:06:49 +01:00
falkTX 18177e3d51 Add port rename and property change to evmon (sync with jack1) 2019-09-25 03:06:49 +01:00
falkTX c74385603c Cleanup metadata on server close 2019-09-25 03:06:49 +01:00
Juuso Alasuutari 0ee218826b If pthread_setschedparam() in JackPosixThread::AcquireRealTimeImp() fails
try again with the SCHED_RESET_ON_FORK flag before giving up. This fixes
PulseAudio's JACK modules not being granted real-time scheduling.

Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
2019-09-18 21:40:17 +01:00
Laxmi Devi 4341f8086f alsa_driver: Execute recovery on ALSA poll timeout
On ALSA poll time out, retry polling after executing the recovery.
Retry max limit is set with MAX_RETRY_COUNT.

Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
2019-09-11 19:25:50 +01:00
Laxmi Devi 45ab755883 alsa_driver: Moved the check for poll timeout before getting the revents
Currently only poll_result is checked for < 0 before doing the further
processing, and not for timeout. After this movement the revents is checked
only if the poll doesn't timeout.


Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
2019-09-11 19:25:50 +01:00
Laxmi Devi fb11c75fdc alsa_driver: Exiting loop for need_playback and need_capture on XRUN to execute recovery
Currently even on XRUN, the xrun recovery is not executed as the
need_playback or need_capture flag is still true and so it goes
and waits on poll again.

Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
2019-09-11 19:22:28 +01:00
luz.paz a93b210134 FIx doxygen and user facing and non-facing typos
Found via `codespell -q 3`
2019-09-11 19:17:07 +01:00
falkTX bb416c7801 Rename `PortSetDeviceName` to `PortSetDeviceMetadata` 2019-09-11 19:13:56 +01:00
Luciano Iam c2ec4b37d4 MIDI port pretty names (#498)
* Set MIDI port pretty names on macOS

* Set MIDI port pretty names on Windows

* Set MIDI port pretty names on Linux/alsarawmidi

* Update alsarawmidi port naming to match CoreMIDI and WinMME

* Rename PortSetPrettyNameProperty to PortSetDeviceName

* Set hardware property to MIDI port names
2019-09-11 19:09:59 +01:00
falkTX 77de2e339e Fix loading internal client from another internal client 2019-08-23 11:19:00 +01:00
falkTX 6bacf6e1db
Fix crash on jack_internal_client_load without some options set 2019-08-14 18:25:16 +01:00
Joseph A. Yasi dad4b57027 Set fSocket to -1 after close on an error to prevent a double close.
Signed-off-by: Joe Yasi <joe.yasi@gmail.com>
2019-06-19 12:40:43 +02:00
falkTX a24777a16c
Use CLOCK_MONOTONIC_RAW when available
Signed-off-by: falkTX <falktx@falktx.com>
2019-06-02 20:21:50 +02:00
Filipe Coelho 3c7e9f8ac2
Merge pull request #428 from dvzrv/feature/systemd_user_units
templated systemd user unit
2019-06-01 12:49:53 +02:00
David Runge 2835c40410
systemd/jack@.service.in: Templating PREFIX, so it can be set from the build system. 2019-05-31 12:59:30 +02:00
David Runge 623940e431
systemd/wscript: Using template location for jack@.service and overriding PREFIX with the environment's PREFIX. 2019-05-31 12:58:42 +02:00
David Runge 8b6e7400a0
systemd/jack@.service.in: Moving jack@.service to a template location (so we can reuse PREFIX). 2019-05-31 12:56:55 +02:00
David Runge 1b3269d525
wscript: Setting SYSTEMD_USER_UNIT_DIR to None, if the option is not set (the options seem not to be available in build later on.... hopefully conf.env is. 2019-05-30 23:28:49 +02:00
David Runge b15fe0d626
.travis.yml: Switching to correct flag to install systemd units (--systemd-unit). 2019-05-30 22:54:07 +02:00
David Runge a7ccfe2723
wscript: Switching to --systemd-unit (to not shadow implicit magic --systemd configure option). 2019-05-30 22:53:31 +02:00
David Runge 228fda5857 Merge branch 'feature/systemd_user_units' of github:dvzrv/jack2 into feature/systemd_user_units
* 'feature/systemd_user_units' of github:dvzrv/jack2:
  systemd/example.conf: Fixing typo and adding further explanation and pointers to relevant documentation.
  .travis.yml: Switching last build plan (old clang) to use xenial... oversaw that one.
  .travis.yml: Switching to xenial for all other Linux based builds, too.
  systemd/wscript: Making sure to strip trailing new lines from systemd user unit dir.
  .ci/install-deps.sh: Install legacy development packages.
  .ci/install-deps.sh: Testing xenial image (trusty is mega dead) to hopefully get a working systemd development package with headers to be picked up during configure.
2019-05-30 22:14:09 +02:00
David Runge 5aa61d395c
.travis.yml: When on Linux, install the systemd integration by default. 2019-05-30 22:13:12 +02:00
David Runge 4eda614f72
wscript: Adding the installation of systemd unit/configuration file to a configure option, that is off by default. 2019-05-30 22:12:44 +02:00
David Runge 7141fe5840
systemd/example.conf: Fixing typo and adding further explanation and pointers to relevant documentation. 2019-05-30 21:54:18 +02:00
David Runge 7f5a8af8e7
.travis.yml: Switching last build plan (old clang) to use xenial... oversaw that one. 2019-05-30 21:34:59 +02:00
David Runge c5a9eb32cc
.travis.yml: Switching to xenial for all other Linux based builds, too. 2019-05-30 21:20:54 +02:00