Date: Sat, 29 Oct 2022 20:22:14 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Nuno Teixeira <eduardo@freebsd.org> Cc: Diane Bruce <db@db.net>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: morse(6) sound Message-ID: <eb1035b5-0504-ffc5-eec3-91afc4bdd5bc@selasky.org> In-Reply-To: <CAFDf7UJuyvLvOxZLQWBVbFSF_qX6pt5QTmUaUdqsH4OOHrdVoQ@mail.gmail.com> References: <CAFDf7UJ5-m7daqB3vD4%2B07rDCnvGkQwp3HkmcY_7qtukFLzY1Q@mail.gmail.com> <Y10kBZmAtugFNXBU@night.local> <CAFDf7ULRVFmRUvspqUSwJUo1ThujrvKBJNU2LAR21psP%2Bdv4vg@mail.gmail.com> <106b05da-be44-ef6f-e2c8-0888ee71ed88@selasky.org> <CAFDf7U%2BFgLkBnE9XVbmKYUS3XSXwThaA6jV-wCsYv0V5ZZGh5A@mail.gmail.com> <10ff4875-c6bd-88a0-bf0d-7ae52106131e@selasky.org> <CAFDf7UJuyvLvOxZLQWBVbFSF_qX6pt5QTmUaUdqsH4OOHrdVoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/29/22 20:18, Nuno Teixeira wrote: >> Technically you could symlink the two - yes. > > Can't understand how, what do I missing? > In the main() routine, the name of the program name is passed. Then you just check if argv[0] == "morse" and invoke main_morse() instead, if you see. Of course you need to write main_morse() first, but you can re-use all the dsp code in there. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eb1035b5-0504-ffc5-eec3-91afc4bdd5bc>