1From d5c6c92045f9b6ad32365f39b8cc77f2fcd7d0f5 Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Wed, 5 Oct 2016 10:57:29 -0300
4Subject: [PATCH 2/3] Fix Eq CAPS plugin name
5Organization: O.S. Systems Software LTDA.
6
7Patch from:
8https://git.backbone.ws/portage/overlay/commit/7a069112054fbb5dc94a857e9c020a38cb1c6fde
9
10Upstream-Status: Pending
11
12Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
13---
14 README      | 8 ++++----
15 ctl_equal.c | 2 +-
16 pcm_equal.c | 2 +-
17 3 files changed, 6 insertions(+), 6 deletions(-)
18
19diff --git a/README b/README
20index b77fd2d..2df3dc5 100644
21--- a/README
22+++ b/README
23@@ -1,11 +1,11 @@
24 Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can
25 be adjusted using any ALSA compatible mixer, e.g. alsamixergui.
26
27-Alsaequal uses the Eq CAPS LADSPA Plugin for audio processing, actually
28+Alsaequal uses the Eq10 CAPS LADSPA Plugin for audio processing, actually
29 alsaequal is a generic LADSPA plugin interface with real-time access to
30 the LADSPA controls (the LADSPA plugin included with alsa doesn't allow
31 for real-time controls) but it was developed for and only tested with
32-Eq CAPS LADSPA plugin. You are welcome to try it with other plugins, it
33+Eq10 CAPS LADSPA plugin. You are welcome to try it with other plugins, it
34 may work. Let me know how it goes, you can reach me at
35 <charles@thedigitalmachine.net>.
36
37@@ -66,7 +66,7 @@ ctl.<name_equal> {
38 	library -- location of the LADSPA library, the default is
39 					"/usr/lib/ladspa/caps.so"
40 	module -- module name within the LADSPA library, the deafault
41-					is "Eq"
42+					is "Eq10"
43 	channels -- number of channels, the default is 2
44 }
45
46@@ -81,7 +81,7 @@ pcm.<name_pcm> {
47 	library -- location of the LADSPA library, the default is
48 					"/usr/lib/ladspa/caps.so"
49 	module -- module name within the LADSPA library, the deafault
50-					is "Eq"
51+					is "Eq10"
52 	channels -- number of channels, the default is 2
53 }
54
55diff --git a/ctl_equal.c b/ctl_equal.c
56index 40747d4..afba793 100644
57--- a/ctl_equal.c
58+++ b/ctl_equal.c
59@@ -167,7 +167,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(equal)
60 	snd_ctl_equal_t *equal;
61 	const char *controls = ".alsaequal.bin";
62 	const char *library = "/usr/lib/ladspa/caps.so";
63-	const char *module = "Eq";
64+	const char *module = "Eq10";
65 	long channels = 2;
66 	const char *sufix = " Playback Volume";
67 	int err, i, index;
68diff --git a/pcm_equal.c b/pcm_equal.c
69index 2bc87fb..b0b4265 100644
70--- a/pcm_equal.c
71+++ b/pcm_equal.c
72@@ -151,7 +151,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(equal)
73 	snd_config_t *sconf = NULL;
74 	const char *controls = ".alsaequal.bin";
75 	const char *library = "/usr/lib/ladspa/caps.so";
76-	const char *module = "Eq";
77+	const char *module = "Eq10";
78 	long channels = 2;
79 	int err;
80
81--
822.1.4
83
84