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>
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>
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>
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>
* 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
* '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.