Skip to content
Commit 369693dc authored by Paul Vojta's avatar Paul Vojta Committed by Takashi Iwai
Browse files

ALSA: hda - fix beep tone calculation for IDT/STAC codecs



In the beep tone calculation for IDT/STAC codecs, lower numbers correspond
to higher frequencies and vice versa.  The current code has this backwards,
resulting in beep frequencies which are way too high (and sound bad on
tinny laptop speakers, resulting in complaints).

[Also added hz <= 0 check by tiwai]

Signed-off-by: default avatarPaul Vojta <vojta@math.berkeley.edu>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 508f7110
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment