Snd() / Beeper(): Another go - Better selection of default sampling rate.

Snd() for PsychPortAudio, leave rate selection to driver, so it doesn't fail with
unsupported rates. Snd('DefaultRate') - query driver if possible, ie.,
device is open, fallback to most popular 44100 Hz if no device open yet.

Beeper(): Use Snd('DefaultRate') instead of hard-coded 8000 Hz.

-> I knew trying to fix this broken crap was a bad idea. What was i
   thinking?!?
Merge pull request #51 from kleinerm/master

Snd() fix, 64-Bit mex files for Octave/Matlab on OSX/Linux rebuilt. 32-Bit Matlab mex files for OSX rebuilt. Add GStreamer support to 32-Bit PTB on OSX.
Transition to new build system for 32-Bit PTB: Tiger --> Leopard.
Snd() - Next try at fixing it.
Merge pull request #52 from kleinerm/master

Fix Snd() - Next try.
WinJoystickMex: Update license - MIT instead of GPLv2 from now on.
pnet for Windows: Apply low-latency optimizations as on the Unixes

Use timeGetTime() for 'waiting via clock polling' instead of the
super-expensive call into Matlabs 'now' function. This should help
Windows to get a bit closer in timing to the superior Unixes.
PsychSerial() for Windows: Kill it with fire!

This is soo old and deprecated for so long, we really can kill it. It
was only supported on 32-Bit Matlab R2007a on MS-Windows, not on any
other runtime or OS. IOPort is far superior in any sense nad
PsychSerial() could be rewritten as a M-File wrapper around IOPort in
probably less than half an hour. Let it RIP.
Eyelink-Windows: Merge build script into master build script.

Remove windowsmakeeylinkOld.m build script. Instead move build-code for
32-Bit Matlab on MS-Windows into the regular windowsmakeit32_twisty.m
build script as module type 7.

Simplifies buidl script maintenance.
Note: Apparently, as of September 2012, the Eyelink-SDK is not
available for 64-Bit MS-Windows. Therefore we can't provide an Eyelink
mex file for 64-Bit Matlab/PTB on Windows.
Rebuilt all mex files for 32-Bit Matlab on MS-Windows.

Even the exotic ones like WinTabMex, WinJoystickMex, pnet, etc.
Also integrated latest Datapixx.mexw32 from Peter April.

This should complete the transition to MSVC-2010 runtimes for 32-Bit
Matlab + Windows.
Datapixx: Update mex files with latest ones from Peter April.

Update 32/64 Bit Matlab on OSX, 32-Bit Octave on OSX/Linux/Windows.

Missing/Todo: 32/64 Bit Matlab on Linux, 64-Bit Octave on Linux/OSX,
64-Bit Matlab on Windows.
PsychImaging/PsychDataPixx: Add support for stereo sync lines and scanning backlight.

If any frame-sequential stereo mode is selected via PsychImaging,
enable the video scanning backlight of the ViewPixx by default.

If a gpu-driven frame-sequential stereo mode (1 or 11) is selected via
PsychImaging, enable stereo blue-line sync line handling by the
DataPixx.

Extend PsychDataPixx to passthrough the relevant commands to the
DataPixx mex file.
PsychImaging: Turn new Datapixx functions into no-ops on not yet supported platforms.

Some Datapixx mex files are not yet up to date, so would error out if
we wouldn't no-op those functions.
Merge pull request #53 from kleinerm/master

Update Datapixx support and 32-Bit Matlab support for Windows.
Core: Fix some 64-Bit compiler warnings on MSVC-2010

Nothing special, just to shut the compiler up.
PsychPortAudio: Fix some crash on unload on MS-Windows. Make 64-Bit ready on Windows.

Could happen that during driver shutdown/clear,
PaUtil_SetDebugPrintFunction(NULL) was called to disable debugging
hooks when the actual portaudio.dll wasn't ever delay-loaded ->
undefined entry point -> crash. Check better if plugin is available.

Also add ability to delay-load 64-bit portaudio_x64.dll on 64-Bit
Windows.
Some compiler warning fixes for 64-Bit MSVC 2010 compiles.
InitializePsychSound: Make 64-Bit ready for MS-Windows, some cleanup

Formatting of help text improved. Allow 64-Bit override plugin loading
on MS-Windows.
64-Bit Windows build script: Add PsychPortAudio build setup.

Set it up for 64-Bit Matlab + PsychPortAudio on Windows.
Add dead Eyelink support, with comments about the fact that we can't
support Eyelink for 64-Bit Matlab+Windows, as SR-Research doesn't
provide an Eyelink SDK for 64-Bit Windows.
Rebuild portaudio_x86 plugin for 32-Bit Windows against Win-7 32-Bit SDK.

Just to make sure it works with 32-Bit Windows-7 SDK and MSVC-2010.
Build PsychPortAudio for 64-Bit Matlab on MS-Windows.

Our Portaudio source tree was rebuilt for 32-Bit and 64-Bit MS-Windows
on Windows-7 64-Bit against the Windows-7 platform SDK with Microsoft
Visual C++ 2010 Express Edition.

Relevent MSVC project files and settings were upgraded to work with
this configuration. The files are contained in the
Cohorts/PortAudio/portaudio_msvc2010_buildconfig.zip archive. They'd
need to be copied into the Portaudio/build/msvc/ subfolder of the
portaudio source tree for rebuilding. One would also need the freely
available, but not redistributable, ASIO 2.0 SDK from Steinberg for a
ASIO enabled build, which we can't include into the PTB Git repo,
because it is non redistributable. I can use it locally for binary only
builds, because i have a written license agreement with Steinberg.

Add built portaudio_x64.lib and portaudio_x64.dll with the 64-Bit
Portaudio plugin dll.
Add PsychPortAudio.mexw64 mex file driver for 64-Bit Matlab.
Survived basic testing in a VM so far. The MSVC 2010 compiler threw a
few 64-Bit warnings during the build, but all warnings have been
inspected and verified to be false alerts for our use case, ie., they
are about truncation (possible loss of data) when storing 64-Bit
integers, size_t or pointers in 32-Bit integers. However, wherever that
happens i have verified it will never have any consequences, because
the values assigned are small enough to never even come close to a
32-Bit size limit -- in fact they would easily fit in 16 bit or 8 bit
integers, so no reason to worry about this warnings. The driver build
should be 64-Bit clean, as on the other os platforms.
pnet.mex64 - Rebuild for 64-Bit Matlab+Windows with latest fixes.

Low-Latency improvements, and verify it actually works by checking if
it can run online registration. It does.