Lines Matching +full:78 +full:hz
23 int hz; member
60 105, 103, 101, 97, 92, 86, 78, 68,
67 -58, -68, -78, -86, -92, -97, -101, -103,
82 #define BEEP_SRATE 22050 /* 22050 Hz sample rate */
87 unsigned int code, int hz) in snd_pmac_beep_event() argument
102 case SND_BELL: if (hz) hz = 1000; break; in snd_pmac_beep_event()
114 if (! hz) { in snd_pmac_beep_event()
125 if (hz <= srate / BEEP_BUFLEN || hz > srate / 2) in snd_pmac_beep_event()
126 hz = 1000; in snd_pmac_beep_event()
136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
139 period = srate * 256 / hz; /* fixed point */ in snd_pmac_beep_event()
149 beep->hz = hz; in snd_pmac_beep_event()