示例#1
0
void
isabeep(int pitch, int period)
{
#if NPCPPI > 0
	if (ppi_attached)
		pcppi_bell(ppicookie, pitch, period, 0);
#endif
}
示例#2
0
static void
tone(u_int xhz, u_int ticks)
/* emit tone of frequency hz for given number of ticks */
{
	pcppi_bell(ppicookie, xhz, ticks, PCPPI_BELL_SLEEP);
}