Remove GetDirectory(..) without return value
ActiveAE: always stream low noise in PCM idle mode, keeps AVRs alive, credits @fritsch
ActiveAE: remove obsolete code, refactor SampleOfNoise
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.
dvdplayer: Disallow passthrough for unsupported low E-AC-3 sample rates

E-AC-3 supports standard sample rates 32kHz, 44.1kHz, 48kHz and the
reduced rates 16kHz, 22.05kHz, and 24kHz. Only 32kHz, 44.1kHz and 48kHz
are mentioned in the IEC 61937-3:2007 specification as E-AC-3 sample
rates for passthrough. Of those, 32kHz passthrough results in an IEC
60958 frame rate of 128kHz which is not supported by HDMI.

Limit passthrough to the HDMI supported rates to avoid audio playback
failure.
Merge pull request #2707 from Rawk/use_return_value3

Remove URIUtils::GetDirectory(..) function without return value
Merge pull request #3168 from FernetMenta/aefixes

ActiveAE: keep AVRs alive in PCM mode
Merge pull request #3169 from anssih/fix/AE-eac3

E-AC-3 passthrough fixes
Merge pull request #3152 from herrnst/paplayer-dtswav

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)