From 27f51d17e1560992c17a93764355dababf357a15 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 29 Nov 2020 04:54:21 +0000 Subject: [PATCH] audio/alsa-plugins: disable BUFSZ_P2 after r545611 $ aplay foo.wav Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Assertion failed: (err >= 0), function set_params, file aplay.c, line 1353. Aborted by signal Abort trap... $ veloren [...] Panic Payload: "build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: \"ALSA function \\\'snd_pcm_hw_params_set_period_time_near\\\' failed with error \\\'EINVAL: Invalid argument\\\'\" } }" PanicInfo: panicked at 'build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: "ALSA function \'snd_pcm_hw_params_set_period_time_near\' failed with error \'EINVAL: Invalid argument\'" } }', cargo-crates/rodio-0.13.0/src/stream.rs:202:22 Game version: v0.8.0 [2020-11-28] --- audio/alsa-plugins/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile index 027f10093f18..a151ef1fc91e 100644 --- a/audio/alsa-plugins/Makefile +++ b/audio/alsa-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= alsa-plugins PORTVERSION= 1.1.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= ftp://ftp.alsa-project.org/pub/plugins/ \ GENTOO @@ -21,7 +21,7 @@ EXTRA_PATCHES+= ${FILESDIR}/alsa-plugins.patch INSTALL_TARGET= install-strip CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files -OPTIONS_DEFAULT=BUFSZ_P2 IO_PTR +OPTIONS_DEFAULT=IO_PTR OPTIONS_DEFINE= JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX OPTIONS_SUB= yes