X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..74a94bd06358ca24b4a3a1acaa524c7235f38664:/lib/mixer.c diff --git a/lib/mixer.c b/lib/mixer.c index 5293ffd..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 @@ -111,4 +116,3 @@ c-basic-offset:2 comment-column:40 End: */ -/* arch-tag:2c047b85dbe68f45f2ebfc8c051ba967 */