Merge pull request #35 from dreinhold/master

Allow the mbe file move to work in windows based systems.
Fixes a crash if an irrecoverable error happens

If an irrecoverable error happens, you should start a new sequence
since the previous dibit was not set
Merge pull request #36 from robotastic/master

Fixes a crash if an irrecoverable error happens
Update dsd.h, dsd_audio.c, dsd_main.c and dsd_symbol.c

Adding portaudio support. Implementing it as a new audio_..._type in dsd.h.

Update CMakeLists.txt and create FindLibPortAudio.cmake

CMake portaudio check
Update dsd_audio.c

Small oops
Tweaking the delay a bit... 0,050 s for output seems too little; it results in choppy audio and ultimately, a heap of errors. 0,100 seems ok for the output buffer. But the input buffer needs to be much larger else it overflows. Also, an extra stop stream before terminating to make sure all audio from the audio buffer is played.
Merge pull request #38 from jpwichern/master

Portaudio support
Add option to display available portaudio devices.
libsndfile can be used to open a UNIX-style pipe on many platforms
In specific, it can be used to read in data almost directly from Gqrx
Currently, this will not function correctly using -i /dev/stdin on OS X
because stdin is not seekable, and it is not actually a file; also, for
ongoing raw data, there are no hints for libsndfile to identify the
sample.

So, we can use the UNIX-y '-' to do libsndfile-approved fd handle open.

Tested with the dsd-samples wav after converting it to correct sampletype
(stereo) -> sox p25_raw_unencrypted_edf.wav -c 2 ~/gqrx_last_recorded_filename.wav
.. and then pressing 'play' in the Gqrx interface while running:

socat udp-listen:7355 - | dsd -i - -o pa:2

.. in the background. And it decoded it nicely as many times as I played it,
which was 5 or 10.
Merge pull request #44 from midnightmagic/libsndfile_stdin_pipe_support

libsndfile can be used to open a UNIX-style pipe
-h now lists the new '-' option (woops)
Merge pull request #45 from midnightmagic/libsndfile_help_output

-h now lists the new '-' option (woops)
Fixed 12.5KHz NXDN poor performance due to the 6.25KHz filter being used.