public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tone generator
Date: Fri, 25 Jan 2008 12:59:30 +0930	[thread overview]
Message-ID: <1201231770.17610.45.camel@orpheus> (raw)
In-Reply-To: <734292.39470.qm@web31715.mail.mud.yahoo.com>


On Thu, 2008-01-24 at 18:13 -0800, maxim wexler wrote:
> > all I can find is the file src/tonegen/tonegen.c in
> > audacious-plugins
> 
> Seems to be a different file than
> 
> www.lns.com/papers/tonegen/tonegen.c 

ah, then your previous Q. is easy.  Looking at the above c file, it says
#ifdef LINUX
#include <linux/soundcard.h>
#define DSP "/dev/dsp"
#else
#include <machine/soundcard.h>
#define DSP "/dev/dspW"
#endif

so you have to define LINUX.  There are a few other things too,
something like this should do it:

gcc -D LINUX -include string.h -lm -o tonegen tonegen.c

-- 
Iain Buchanan <iaindb at netspace dot net dot au>

The ends justify the means.
		-- after Matthew Prior

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-01-25  3:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 19:41 [gentoo-user] tone generator maxim wexler
2008-01-24 20:21 ` Willie Wong
2008-01-24 22:27   ` maxim wexler
2008-01-24 23:15     ` Willie Wong
2008-01-24 23:06   ` maxim wexler
2008-01-24 23:44     ` Willie Wong
2008-01-24 23:22   ` maxim wexler
2008-01-24 23:54     ` Willie Wong
2008-01-24 20:30 ` Etaoin Shrdlu
2008-01-24 20:41 ` Liviu Andronic
2008-01-24 23:26 ` Hemmann, Volker Armin
2008-01-24 23:29   ` maxim wexler
2008-01-24 23:31 ` Iain Buchanan
2008-01-24 23:45   ` maxim wexler
2008-01-25  0:58     ` Iain Buchanan
2008-01-25  1:06       ` Iain Buchanan
2008-01-25  2:13         ` maxim wexler
2008-01-25  3:29           ` Iain Buchanan [this message]
2008-01-25  4:15             ` maxim wexler
2008-01-25  5:15               ` Michael Higgins
2008-01-25  2:00       ` maxim wexler
2008-01-25  2:29         ` Iain Buchanan
2008-01-25  6:44 ` Jan Seeger
2008-01-25 18:59   ` maxim wexler
2008-01-25 20:33     ` Michael Higgins
2008-01-25  9:44 ` csound " Ralf Stephan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1201231770.17610.45.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox