Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 15:54:47 -0700 (PDT)
From:      Rich Wales <richw@webcom.com>
To:        current@freebsd.org
Subject:   Re: Please review: PC-Card melody beep code.
Message-ID:  <200010232236882.richw@wyattearp.stanford.edu>

next in thread | raw e-mail | index | archive | help
It looks like you have the "duration" and "pitch" elements reversed
in your "tone" structure.

Rich Wales         richw@webcom.com         http://www.webcom.com/richw/

========================================================================

. . .

+struct tone {
+        int duration;
+        int pitch;
+};

. . .

+static struct tone success_melody_beep[] = {
+	{1200,    7}, {1000,    7}, { 800,   15}, {NULL, NULL}
+};

. . .

========================================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010232236882.richw>