From owner-freebsd-current Mon Oct 23 15:55: 2 2000 Delivered-To: freebsd-current@freebsd.org Received: from wyattearp.stanford.edu (wyattearp.Stanford.EDU [171.64.180.171]) by hub.freebsd.org (Postfix) with ESMTP id A6A3537B479 for ; Mon, 23 Oct 2000 15:55:00 -0700 (PDT) Received: (from richw@localhost) by wyattearp.stanford.edu (8.9.3/8.9.3) id PAA37308; Mon, 23 Oct 2000 15:54:47 -0700 (PDT) (envelope-from richw) Date: Mon, 23 Oct 2000 15:54:47 -0700 (PDT) From: Rich Wales X-Sender: richw@wyattearp.stanford.edu To: current@freebsd.org Subject: Re: Please review: PC-Card melody beep code. Message-ID: <200010232236882.richw@wyattearp.stanford.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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