summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-11-01 12:03:26 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-11-01 12:03:26 +0200
commit51e84b626dc38c89d537b750948cc76bd4932e8e (patch)
tree38fa5be0c9ce550af2b957928ae66e1fdede2283
parent8ab5c2ddd3e44a1c3bdbac3041a376fe12c464db (diff)
s/ERRX/WARNX/g
-rw-r--r--src/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm.c b/src/pcm.c
index 09134c5..9c2f763 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -130,7 +130,7 @@ sndio_mode(int mode)
switch (mode) {
case SND_PCM_NONBLOCK: WARNX1("SND_PCM_NONBLOCK"); return true;
// ASYNC: SIGIO will be emitted whenever a period has been completely processed by the soundcard.
- case SND_PCM_ASYNC: ERRX1(EXIT_FAILURE, "SND_PCM_ASYNC is not supported");
+ case SND_PCM_ASYNC: WARNX1("SND_PCM_ASYNC is not supported"); return false;
}
return false;
}