Merge pull request #4451 from fritsch/pa-volume-fix-mainline

PulseAudio: Rework Volume
Revert "Merge pull request #4471 from Memphiz/sinktimeout"

This reverts commit 714e7f2c0d81371c02945ef80549a65f289fe4b7.
Revert "[osxsink] - always fetch the defaultdevice from osx instead of or (maybe"

This reverts commit 753e70826c7d28ab827843afcd96aa6dc31ff0d8.
Revert "[osxsink/iossink] - don't spam the log with audiobuffer underruns with 0 bytes available - those underruns happen alot when we idle but sink isn't suspended yet - instead only log those underruns once until there was some data played again"

This reverts commit 943845f5a9005b737532178d562b39058d1da542.
Revert "[iossink/osxsink] - fixed - condvar has to wait on the mutex - not on the singlelock"

This reverts commit dc701c06c265b8a295cb5bba99b6d9fbf82ef215.
Revert "[iossink/osxsink] - don't deadloop in drain when device is gone - but"

This reverts commit c7b5c584a55e93cc810cb90060e92affb512324f.
Revert "[osxsink] - properly set the ae device type based on either ca or heuristical criteria - fixes DisplayPort not detected as LPCM capable and maybe others"

This reverts commit dc87b59b349fca01cc8fda4e655978a229f4a791.
Revert "[osxsink/iossink] - don't block addpackets if ca didn't do the initial data pull - but timeout gracefully for signaling an error condition to the engine (use a timer for detecting a real timeout as condvar can be signaled by spurious interrupts)"

This reverts commit ecd891c4db757f190b2acbb6266e79db10b94dc0.
Revert "[osxsink] - detect digital outputs based on device name and make capable passthrough devices "AE_DEVTYPE_IEC958" for showing the passthrough options in the gui - fixes missing passthrough options on some special audio setups"

This reverts commit 352d013f8dd7a43be490a2468fbcc7fd8ebd865f.
Revert "[AESink/ios] - fix drain - we need to output silence when no samples are left - else CA on iOS will repeat loop the last sample"

This reverts commit b1d9c64cc2dacc4e54ebe43af0a2cb64835931fc.
Revert "[ae/darwin] we don't need another mutex when we already have one"

This reverts commit ca63894383b9a86eff7cc8c8bdbf238b3ab7a561.
Revert "[osx/aesink] - fix compile on older SDKs"

This reverts commit 1d9b670f40299c5bed6730c652359b779102c610.
Revert "[osx] drop outputbuffer index and iterate over them all"

This reverts commit b9a1d07a7d1a2bec3bb094b97cc7d96a325b9b98.
Revert "[ios/osx] adds Darwin sinks for ActiveAE and drop the CoreAudio engine."

This reverts commit c13a3d4af22d5a2443fadaeeb4cd70cf2d8154e2.