Wykres commitów

4 Commity (874772dbf5f7cdc37dec54d685a11842d41e6c41)

Autor SHA1 Wiadomość Data
Julian Cable 3c15a1d6c3 Use Automake conditionals for G313 build
Split G313 sources into POSIX and Windows versions and use Automake
conditionals for building on *linux-gnu or  mingw*, pw32*, or cygwin
platforms.

Fixed dlopen issue on g313 backend which broke rigmatrix generation.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-11-23 08:03:17 -06:00
Nate Bargmann 6e104f14f2 Test for cygwin to avoid Linux specific code
Compile failed on Cygwin looking for Linux specific header files.  Add a
preprocessor test for cygwin to only compile Windows compatible code.
2013-05-09 22:02:24 -05:00
Julian Cable 92a80da264 wrg313api.c: Fix Win32 (MinGW) build issue
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-11 20:44:10 -06:00
Julian Cable 0005b9a511 WinRadio G313: Updates from Julian Campbell
"I've re-written the hamlib backend to stream the audio, if and spectrum
pcm samples to simple file system objects.

If no path is given, streaming is not requested. If the path can't be
openned, no streaming is requested.

The file is openned non-blocking and overruns are just silently
discarded.

I've tested it using named fifos and if there is no active reader it
fails to open and if there is an active reader it streams fine.

Thats as simple as it can get.

In terms of the project files, I've put the wrg313api.c and wrg313api.h
files in the existing linradio subfolder of winradio.

The .h file is the g313 equivalent of the wrapi.h file already there.
The .c file actually just contains the dlopen and the assignments to the
function variables.

The actual API shared library is binary only (and 32-bit only), and not
included in my patch."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-10 07:37:11 -06:00