Fix "Use of undeclared identifier 'getpid'"

Troubleshooting RemoteZynAddSubFX.
Fix incorrect path to libZynAddSubFxCore.dylib
#527
Revert changes
Revert changes
Revert changes
Revert changes
Merge pull request #714 from tresf/stable-1.0

Fix font colors on Apple #527
swh plugins:  Fix SWH destructors

The constructors had been fixed with commit #83c2019, but I had missed
the destructors.  This corrects the `_fini()` destructors as well.
Merge pull request #729 from tresf/stable-1.0

swh plugins:  Fix SWH destructors
add lib64 directories to search for ladspa plugins
Merge pull request #719 from ycollet/stable-1.0

add lib64 directories to search for ladspa plugins
SF2/VST title rename #462 w/ #774 recommendations
Export dialog append wav/ogg #764 w/ #779 recommendations
Formatting fixes
Fast forward vesa's sample-accurate changes
Merge pull request #808 from tresf/stable-1.1

SF2/VST Title Fixes, Export Dialog Fixes
Make BB-tracks themeable
- This allows defining a default colour for BB-track patterns in the CSS
- The default colour is used for all bb-patterns which don't have a custom colour set by the user: in other words, the colour of a pattern can be any rgb-value OR "style colour"
- By default, all created bb-patterns use the style colour
- You can also reset colourized patterns to use style colour again
- Backwards compatibility: old projects will be loaded so that any pattern using either of the old default colours will be converted to use style colour

TODO: add a settings option that can disable custom colours (ie. always use style colour), and/or an option to reset all patterns in a project to style colour. This is needed, since themes can now change the song editor background, which can lead to unfortunate colour combinations with custom colours...
Ensure that NotePlayHandles get processed before the InstrumentPlayHandle on instruments that use both NotePlayHandles and InstrumentPlayHandle, such as LB302 and SF2-Player
Issue: Currently, we use threads to process all PlayHandles, so there's no guarantee of the order they are processed in. This causes timing inaccuracy and jitter: notes of instruments that use both NPH's and IPH's can get randomly delayed by one entire period.
The issue is solved thusly:
- When processing an IPH, we check if the instrument is midi-based. If yes, we just process it normally (no NPH's to worry about).
- If it's not, then it also uses NPH's, so we'll have the IPH wait until all NPH's belonging to same instrument have been processed. There's some similar code in the new FX mixer, I pretty much just copied how we do it there.
LB302: Fix playback bugs (sticking pitch), add bandlimited waves