]> git.alsa-project.org Git - alsa-plugins.git/commit
jack: Allow build with older alsa-lib
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2018 15:13:00 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2018 15:16:08 +0000 (17:16 +0200)
commita4ce4f6e6fd8bb39bb047e938c2353feb8a1b9e2
tree02fa3bc8364326367df6e88dabbc16d36c0fe25c
parentec40915a1149d43d8a5c185090a82ff8f3a1be54
jack: Allow build with older alsa-lib

The new API snd_pcm_ioplug_avail() doesn't appear prior to alsa-lib
1.1.7.  Add an own code for allowing the build with alsa-lib 1.1.6.

It has a very slight overhead than the original snd_pcm_ioplug_avail()
but should be OK as a workaround.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
jack/pcm_jack.c