- Clean up casting in arguments.
- Use <portaudio.h> not "portaudio.h"
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1230 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- Remove alsa/oss from configure.ac and regenerate configure file.
- Note it is MAP65 not WSJT.
- rfile3a.f90 -> rfile3a.F90 for gfortran preprocessor.
- Comment out compiler option that does not work on gfortran for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1151 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
deep65.F: still has a weird bug; different workaround now.
wsjtrc: changed default fonts
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@270 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
make a static library including alsa definitions. A binary linked
against a portaudio-v19 library using alsa also has to link against -alsa,
this is inconvenient to say the least. I do not consider this the
best "fix", the portaudio.a may not be referencing any alsa libs at all,
even if it is present; but this should get Harry going.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@260 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- fix typo in configure
- point Makefile and new location for portaudio.a
- Still have to import new portaudio over top of this
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@246 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
to be used for portaudio. The following files enable libsamplerate
when either Win32 is defined or portaudio is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@239 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- This gets rid of the need to configure for parallel or serial port
- The code picks up the device name from WSJT.INI for ComPort (misnamed now)
which is actually a device name for either a serial port or parallel port.
ptt_unix.c then uses the appropriate code to "talk" to a parallel or serial
port.
- audio in/audio out should work the same way on windows as it did before,
however it is actually now a string name value, which can be used to open
the appropriate /dev/dsp on OSS or in future, be passed to the ALSA init
routines or other audio routines as needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@185 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
compile it if necessary and use the libs from it instead of the system
library. v19 has a different ABI than portaudio normally installed
on unix systems.
I have come across at least one other program that includes a copy
of portaudio v19 with it's release package due to this problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@184 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- first (non working) cut at jack support (start_jack.c)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@175 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- Also adds the ability to read a serial or paralle port name from WSJT.INI
- Also removes serial vs. parallel hooks in configure
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@166 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
all files previously using conf.h
- pass defs found into the Makefile instead
- add parallel port enable to configure --enable-parallel vs. --enable-serial
- use code (partially contributed by yours truly anyway) from cwdaemon to add
parallel port support for *nix.
I've not tested parallel port operation, it should match what cwdaemon
does, which is convenient.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@113 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
it was causing my grief with tx testing of OSS
- fixed configure to fill in just start_oss.c for AUDIO
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@110 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
source files needed for the audio system chosen. Note in particular
a2d.f90 no longer needs to be wrapped with a #ifdef PORTAUDIO since
it is now only compiled and linked when needed.
Tested on portaudio here, but untested on alsa. Please test that
I have not screwed it up on alsa or windows. ;-)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@102 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- split start_threads.c into start_alsa.c and start_portaudio.c
- make configure/Makefile add start_alsa or start_portaudio as needed
instead of start_threads
Untested on ALSA, works fine with PORTAUDIO
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@100 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- Try to guess at a default between portaudio and alsa for now
- changed "samplerate.h" to <samplerate.h> in resample.c
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@76 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- always define -pthread
- make sure right libs are passed along
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@74 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
--enable options.
This will have to be cleaned up a lot more to minimise #ifdef's
a2d_() is needed for portaudio which is needed by both windows and *nix
but only a small piece of start_threads.c is needed for portaudio
the ALSA part is #ifdef'd out when USE_PORTAUDIO is enabled.
audio_init.f90 and a2d.f90 now have #ifdef's on USE_PORTAUDIO
instead of Win32.
Lots to do still.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@73 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- look for alsa/asoundlib.h and set HAS_ASOUNDLIB_H if present
- also rework Makefile to pass proper flags
This should be it for alsa and portaudio.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@70 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- cleaned up Makefile to use LDFLAGS and CPPFLAGS
- look for asoundlib.h properly
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@69 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
Note for *now* you will have to expressly state ./configure --enable-alsa
or --enable-oss etc. I'll fix it later to pick a default.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@61 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
- ptt_linux.c is no longer needed (replaced with generic ptt_unix.c)
- Makefile should be created from configure (and Makefile.in)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@59 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
Note that Makefile should go since it should be rebuilt from Makefile.in
by configure.
- start_threads now has HAVE_ALSA_ALSASOUND_H
- ptt_unix now uses configure HAVE_SYS_PARAM_H
Initial *non production* commit
I am a little rusty with it, sorry. --db
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@58 ab8295b8-cf94-4d9e-aec4-7959e3be5d79