From 427f5b66ce0abe19daed9291b1693f6e8aae6552 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 9 Jun 2019 13:43:51 +0200 Subject: patch 8.1.1502: cannot play any sound Problem: Cannot play any sound. Solution: Use libcanberra if available. Add sound functions. --- src/feature.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index c613c4bc94..c5d7d777e6 100644 --- a/src/feature.h +++ b/src/feature.h @@ -660,6 +660,13 @@ # define FEAT_TERM_POPUP_MENU #endif +/* + * sound - currently only with libcanberra + */ +#if !defined(FEAT_SOUND) && defined(FEAT_BIG) && defined(HAVE_CANBERRA) +# define FEAT_SOUND +#endif + /* There are two ways to use XPM. */ #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \ || defined(HAVE_X11_XPM_H) -- cgit v1.2.3