X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..ff8ddcef6032bcd20fa2b8097ab9ad7d785cc3c8:/lib/mixer.c?ds=inline diff --git a/lib/mixer.c b/lib/mixer.c index b4704b9..5ef30a2 100644 --- a/lib/mixer.c +++ b/lib/mixer.c @@ -100,7 +100,12 @@ int mixer_channel(const char attribute((unused)) *c) { int mixer_control(int attribute((unused)) *left, int attribute((unused)) *right, int attribute((unused)) set) { - error(0, "don't know how to set volume on this platform"); + static int reported; + + if(!reported) { + error(0, "don't know how to set volume on this platform"); + reported = 1; + } return -1; } #endif