[Fix] Calling setlocale more multiple times causes a dangling pointer.
This fix is related to 0a991b58434350fb2769641b7818759bc192fa51 and a8fbc09a96f9427dfbe84ade2eb2708e3e9812f2
[osx/coreaudio] - add method which gets the number of channels inside a stream
[AE/osxsink] - factor the device enumeration out into its own class and unroll that big enumeration loop into logic parts
[settings] - implement update mechanism for audiooutput setting (needed due to new setting format)
[osx] - sync xcode project
[ae/osxsink] - init m_caDevice in init list instead of c'tor
[ae/osxsink] - use const reference for tmp formatlists
[ae/osxsink] - get rid of the vectors and replace with one vector of container structs
[ae/osxsink] - reorder methods which are called in Enumerate() to match
the call order
[AE/osxsink] - remove checkIsPlanar method and incorporate into
fillStreamList
[osx/coreaudio] - split IsDigital into IsDigital and GetTransportType
[AE/osxsink] - refactor of the refactor - removed non-obvious dependencies
and go back to one loop for fetching ca device/stream metadata