Merge pull request #7 from cjcliffe/master

patches from master
Source folder cleanup
cleanup
Demodulator can now be initialized with parameters
missing return params
IQ->Demod->Audio threads now chained

No longer passing anything through the main thread which was causing
audio and IQ interrupts on UI events -- hopefully improves OSX jitter.

SDRThread can now have unlimited Demodulator bindings.. :)
Attempting to fix OSX portaudio jitter..
Thread priority bump, main thread sleep
Enable c++11
Preparing to change threading model
switch from portaudio -> libao
Update to 64-bit, add test threadqueue
Merge branch 'dynamic_demod' of https://github.com/cjcliffe/CubicSDR into dynamic_demod

Conflicts:
	CMakeLists.txt
Revert "switch from portaudio -> libao"

This reverts commit 8972e877654434b87532945506f0c5eb57073e24.
Now working on gcc4.8, x86-64 on windows

Had to make my own portaudio and rtl-sdr binaries. The available
packages weren't compatible somehow.  Also wxWidgets wxPack doesn't
include OpenGL support but it's easy enough to compile.
new thread queue testing
SDR and Audio thread now using std::thread

Next up, demod thread..
SDR->Demod->Audio chain all using std::thread

2% CPU usage drop on 3.2G i7 desktop
Cleanup / Reformat
Switch from portaudio callback to stream write

It’s already in a thread, not sure if callback was helping?