X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=miscutils%2Fbeep.c;h=0c8a8225e2db63fc4c372084f7dcae7472143958;hb=9b70f197b4dd5be47c5d0d4479525efe012964ee;hp=18b160cc46a953eaa56cb12d327cf9c46b94b300;hpb=76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7;p=oweals%2Fbusybox.git diff --git a/miscutils/beep.c b/miscutils/beep.c index 18b160cc4..0c8a8225e 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c @@ -5,8 +5,33 @@ * Copyright (C) 2009 Bernhard Reutner-Fischer * * Licensed under GPLv2 or later, see file LICENSE in this source tree. - * */ +//config:config BEEP +//config: bool "beep (3 kb)" +//config: default y +//config: select PLATFORM_LINUX +//config: help +//config: The beep applets beeps in a given freq/Hz. +//config: +//config:config FEATURE_BEEP_FREQ +//config: int "default frequency" +//config: range 20 50000 # allowing 0 here breaks the build +//config: default 4000 +//config: depends on BEEP +//config: help +//config: Frequency for default beep. +//config: +//config:config FEATURE_BEEP_LENGTH_MS +//config: int "default length" +//config: range 0 2147483647 +//config: default 30 +//config: depends on BEEP +//config: help +//config: Length in ms for default beep. + +//applet:IF_BEEP(APPLET(beep, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_BEEP) += beep.o //usage:#define beep_trivial_usage //usage: "-f FREQ -l LEN -d DELAY -r COUNT -n"