You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/bb/files/bb-1.3.0_rc1-disable-pulse....

22 lines
744 B

https://bugs.gentoo.org/516964
--- a/main.c
+++ b/main.c
@@ -160,6 +160,17 @@ main (int argc, char *argv[])
aa_flush (context);
if (tolower (aa_getkey (context, 1)) != 'n')
{
+ /* Unfortunately recently added native pulseaudio
+ * driver in libmikmod does not allow you to
+ * call 'MikMod_Update' in a non-blocking way.
+ *
+ * It's a known limitation of simple pulseaudio API
+ * thus we derevisted pulseaudio driver to fallback
+ * on alsa, oss or whatever used to work for user.
+ */
+ drv_pulseaudio.Name = NULL;
+ drv_pulseaudio.Version = NULL;
+
MikMod_RegisterAllDrivers ();
MikMod_RegisterLoader (&load_s3m);
/*md_mode |= DMODE_SOFT_MUSIC; */