#!/bin/bash
function handler(){
echo "Processing the Ctrl+C, trying to kill ssh agent"
ssh-agent -k
exit 0
}
trap handler SIGINT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Type = Path | |
Operation = Install | |
Operation = Upgrade | |
Target = usr/lib/modules/*/vmlinuz | |
Target = usr/lib/initcpio/* | |
Target = usr/lib/firmware/* | |
Target = usr/src/*/dkms.conf | |
[Action] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Native compilation on ARM/ARM64 host | |
sudo apt update && sudo apt install -y git meson cmake pkg-config gcc libdrm-dev libasound2-dev libmp3lame-dev libopusenc-dev | |
# Build MPP | |
mkdir -p /dev/shm/dev && cd /dev/shm/dev | |
git clone -b jellyfin-mpp --depth=1 https://github.com/nyanmisaka/mpp.git rkmpp | |
pushd rkmpp | |
mkdir rkmpp_build | |
pushd rkmpp_build | |
cmake \ |
tc358743-audio.dts overlay allows audio to be captured. I2S audio is a 48kHz sampling rate at 32 bit/sample.
According to gstreamer, the following caps are supported. This seems to indicate that up to 8-channel audio (likely 7.1) capture is supported by the tc35874x driver. I haven't tested more than stereo, and haven't made sure it isn't just mono.