Browse Source
This also fixes a problem of it segfaulting when "r" is pressed (should reload the config)android-5
Oliver Schmidhauser
8 years ago
committed by
Fredrik Fornwall
3 changed files with 15 additions and 15 deletions
@ -1,13 +0,0 @@ |
|||
diff --git a/cava.c b/cava.c
|
|||
index de8f98a..e88154e 100644
|
|||
--- a/cava.c
|
|||
+++ b/cava.c
|
|||
@@ -268,7 +268,7 @@ FILE *fp;
|
|||
} |
|||
if (strcmp(inputMethod, "fifo") == 0) { |
|||
im = 2; |
|||
- audio.source = (char *)iniparser_getstring(ini, "input:source", "/tmp/mpd.fifo");
|
|||
+ audio.source = (char *)iniparser_getstring(ini, "input:source", "@TERMUX_PREFIX@/tmp/mpd.fifo");
|
|||
} |
|||
if (strcmp(inputMethod, "pulse") == 0) { |
|||
im = 3; |
@ -0,0 +1,13 @@ |
|||
diff --git a/config.c b/config.c
|
|||
index 1da11cd..2e9ddd8 100644
|
|||
--- a/config.c
|
|||
+++ b/config.c
|
|||
@@ -396,7 +396,7 @@ if (strcmp(inputMethod, "alsa") == 0) {
|
|||
} |
|||
if (strcmp(inputMethod, "fifo") == 0) { |
|||
p->im = 2; |
|||
- p->audio_source = (char *)iniparser_getstring(ini, "input:source", "/tmp/mpd.fifo");
|
|||
+ p->audio_source = (char *)iniparser_getstring(ini, "input:source", "@TERMUX_PREFIX@/tmp/mpd.fifo");
|
|||
} |
|||
if (strcmp(inputMethod, "pulse") == 0) { |
|||
p->im = 3; |
Loading…
Reference in new issue