For some reason the mainline i2s driver inverts the frame clock
which in turn maps the audio channels incorrectly when not using
audio passthrough on multi-channel audio.
Adding frame-inversion to the device tree properties fixes the
issue but should be seen as a temporary fix whilst we investigate
the correct default setup of the i2s block.
Signed-off-by: Marcus Cooper <codekipper@gmail.com>
There's no need to pass the path to the build folder, use the path to
the installation instead.
From kodi's FindFFMPEG.cmake:
WARNING: this option is for developers as it will _disable ffmpeg version
checks_! Consider using FFMPEG_PATH instead, which _does_ check library
versions
Before:
-- Found FFMPEG: <snip>/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr (found version "undef")
After:
-- Found FFMPEG: <snip>/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr/include (found version "4.0")
Instead of cluttering $BUILD we now have
- $BUILD/build sources and builds of packages
- $BUILD/install_pkg installed packages
- $BUILD/install_init installed packages for initramfs
Install the files required by $SCRIPTS/image to a hidden directory. That
way, the files won't get copied to the system filesystem, but the script
can access them without requiring access to the build directory,