Fix typo in AddonManager.h
xbadpcm: fix crash on invalid input file

If the sample rate or channel count is zero on a file opened with
ADPCMDll, a division by zero is performed causing XBMC to crash.

Fix that by adding the necessary check.
Merge pull request #3161 from FernetMenta/eac3

AE: distinguish between AC-3 and EAC-3
ActiveAE: always stream low noise in PCM idle mode, keeps AVRs alive, credits @fritsch
ActiveAE: remove obsolete code, refactor SampleOfNoise
dvdplayer: Fix m_streaminfo updates from passthrough codec

Use the GetEncodedSampleRate() method instead of GetSampleRate() to
populate m_streaminfo, since the latter returns the passthrough frame
rate which is not relevant in the context of m_streaminfo.

Also, do not overwrite channel count and sample rate with zero after
opening a passthrough codec, instead keep the demuxer values. These are
only used internally for codec selection.

This fixes some unnecessary back-and-forth checking between regular
and passthrough codec when opening a stream due to wrongly detected
sample rate changes in certain situations.
Merge pull request #3139 from garbear/seeing-double

[android] Fixed missing error message in debug log, "Unable to load '.so file', reason: (null)"
[cosmetic] Fix two member function definitions on the same line
Merge pull request #3143 from MartijnKaijser/alpha8

[release] version bump to 13.0 alpha8 as we start new merge window.
Merge pull request #3155 from fritsch/make-ae-default

ActiveAE: Make ActiveAE default Audio Engine to get it tested
Merge pull request #3162 from amet/smc

[osx] cosmetic fixes in System info page
Merge pull request #3145 from jimfcarroll/removexp

Remove the Xp specific threading code.
Merge pull request #3127 from MartijnKaijser/win32_installer_cleanup

Win32 installer add normal install mode (and cleanup)
[win32][added] Shader based HQ scalers for DXVA renderer
Merge pull request #3086 from mus65/xbmc.sh

[Linux] small xbmc.sh crashlog improvements
Merge pull request #838 from a11599/dxvahqscaler

[windows] Enable shader based HQ scalers for DXVA renderer
paplayer/DVDPlayerCodec: cosmetics - remove double-semicolons
paplayer/DVDPlayerCodec: prevent multiple Init() runs with the same arguments, do DeInit() on instance reuse, do more cleanup in DeInit() - fixes playback of DTS-WAV via paplayer (closes #14405)
AE: Fix passthrough of E-AC-3 streams with less than 6 blocks per frame

High-bitrate E-AC-3 streams contain less than 6 audio blocks per frame.
Accordingly, this requires more E-AC-3 frames per a second of audio. In
IEC 61937-3:2007 this is achieved by inserting multiple (maximum of 6)
E-AC-3 frames into a single IEC 61937 burst.

This is missing from the code despite there being checks for the audio
block count in the E-AC-3 frame in AEStreamInfo.

Fix that by adding an E-AC-3 concatenator in AEBitStreamPacker.
AE: Fix incorrect output frame rate of E-AC-3 passthrough

E-AC-3 passthrough requires an IEC 60958 frame rate of 4 times the
encoded sample rate as per the IEC 61937-3:2007 specification.

Currently AEStreamInfo uses a hardcoded value of 192kHz, causing streams
with a sample rate of less than 48kHz to be played back at an abnormally
fast rate.

Fix AEStreamInfo to use the correct value.