* [PR PATCH] libopenal: prioritize sndio over alsa
@ 2020-07-25 12:17 Johnnynator
2020-07-25 12:36 ` Johnnynator
2020-07-25 12:36 ` [PR PATCH] [Closed]: " Johnnynator
0 siblings, 2 replies; 3+ messages in thread
From: Johnnynator @ 2020-07-25 12:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is a new pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages openal
https://github.com/void-linux/void-packages/pull/23829
libopenal: prioritize sndio over alsa
None
A patch file from https://github.com/void-linux/void-packages/pull/23829.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openal-23829.patch --]
[-- Type: text/x-diff, Size: 1921 bytes --]
From bbb7a5fab74cf7426413524f58e93e7997b23f12 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 25 Jul 2020 14:17:37 +0200
Subject: [PATCH] libopenal: prioritize sndio over alsa
---
.../libopenal/patches/sndio-priority.patch | 26 +++++++++++++++++++
srcpkgs/libopenal/template | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/libopenal/patches/sndio-priority.patch
diff --git a/srcpkgs/libopenal/patches/sndio-priority.patch b/srcpkgs/libopenal/patches/sndio-priority.patch
new file mode 100644
index 00000000000..d47be3834c9
--- /dev/null
+++ b/srcpkgs/libopenal/patches/sndio-priority.patch
@@ -0,0 +1,26 @@
+Reason: Try sndio before alsa (and pulse). Alsa is always available
+on Void systems, so openal will try to use it, even if sndio is setup,
+furthermore the alsa sndio plugin does not work well with OpenAL
+---
+--- alc/alc.cpp 2020-01-24 08:28:45.000000000 +0100
++++ - 2020-07-25 14:13:19.805487926 +0200
+@@ -163,6 +163,9 @@
+ #ifdef HAVE_JACK
+ { "jack", JackBackendFactory::getFactory },
+ #endif
++#ifdef HAVE_SNDIO
++ { "sndio", SndIOBackendFactory::getFactory },
++#endif
+ #ifdef HAVE_PULSEAUDIO
+ { "pulse", PulseBackendFactory::getFactory },
+ #endif
+@@ -181,9 +184,6 @@
+ #ifdef HAVE_SOLARIS
+ { "solaris", SolarisBackendFactory::getFactory },
+ #endif
+-#ifdef HAVE_SNDIO
+- { "sndio", SndIOBackendFactory::getFactory },
+-#endif
+ #ifdef HAVE_OSS
+ { "oss", OSSBackendFactory::getFactory },
+ #endif
diff --git a/srcpkgs/libopenal/template b/srcpkgs/libopenal/template
index 29180831583..c1359134fe2 100644
--- a/srcpkgs/libopenal/template
+++ b/srcpkgs/libopenal/template
@@ -1,7 +1,7 @@
# Template file for 'libopenal'
pkgname=libopenal
version=1.20.1
-revision=2
+revision=3
wrksrc="openal-soft-${version}"
build_style=cmake
configure_args="-DALSOFT_EXAMPLES=OFF -DALSOFT_TESTS=OFF"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libopenal: prioritize sndio over alsa
2020-07-25 12:17 [PR PATCH] libopenal: prioritize sndio over alsa Johnnynator
@ 2020-07-25 12:36 ` Johnnynator
2020-07-25 12:36 ` [PR PATCH] [Closed]: " Johnnynator
1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2020-07-25 12:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/23829#issuecomment-663850809
Comment:
Nope, that doesn't work.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: libopenal: prioritize sndio over alsa
2020-07-25 12:17 [PR PATCH] libopenal: prioritize sndio over alsa Johnnynator
2020-07-25 12:36 ` Johnnynator
@ 2020-07-25 12:36 ` Johnnynator
1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2020-07-25 12:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
There's a closed pull request on the void-packages repository
libopenal: prioritize sndio over alsa
https://github.com/void-linux/void-packages/pull/23829
Description:
None
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-25 12:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25 12:17 [PR PATCH] libopenal: prioritize sndio over alsa Johnnynator
2020-07-25 12:36 ` Johnnynator
2020-07-25 12:36 ` [PR PATCH] [Closed]: " Johnnynator
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).