mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
kodi: drop aarch64 patches
This commit is contained in:
parent
748c5dc577
commit
d7472937e8
@ -1,29 +0,0 @@
|
|||||||
From 58415a1c26a1d0f41bc45ff66471c2a41b705edf Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alex Deryskyba <alex@codesnake.com>
|
|
||||||
Date: Sat, 20 Sep 2014 04:43:52 +0300
|
|
||||||
Subject: [PATCH 1/5] [aml] Fill audio packets completely when resampling to
|
|
||||||
prevent 'audio data unaligned' kernel warnings
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
|
|
||||||
index 3ca667c..304cff8 100644
|
|
||||||
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
|
|
||||||
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
|
|
||||||
@@ -162,7 +162,11 @@ CActiveAEBufferPoolResample::CActiveAEBufferPoolResample(AEAudioFormat inputForm
|
|
||||||
m_inputFormat.m_channelLayout += AE_CH_FC;
|
|
||||||
}
|
|
||||||
m_resampler = NULL;
|
|
||||||
+#ifdef HAS_LIBAMCODEC
|
|
||||||
+ m_fillPackets = true;
|
|
||||||
+#else
|
|
||||||
m_fillPackets = false;
|
|
||||||
+#endif
|
|
||||||
m_drain = false;
|
|
||||||
m_empty = true;
|
|
||||||
m_procSample = NULL;
|
|
||||||
--
|
|
||||||
1.7.10.4
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
From 370709ff0bd108a8bf66656e1424c38341e0b0ac Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jonas Karlman <jonas@kwiboo.se>
|
|
||||||
Date: Fri, 7 Oct 2016 13:42:10 +0200
|
|
||||||
Subject: [PATCH] AESinkALSA: force default device for non-passthrough
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
|
|
||||||
index 6a9066b..4d7f85d 100644
|
|
||||||
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
|
|
||||||
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
|
|
||||||
@@ -535,8 +535,8 @@ bool CAESinkALSA::Initialize(AEAudioFormat &format, std::string &device)
|
|
||||||
m_passthrough = false;
|
|
||||||
}
|
|
||||||
#if defined(HAS_LIBAMCODEC)
|
|
||||||
- if (aml_present())
|
|
||||||
+ if (!m_passthrough && device.find("hdmi:CARD=AMLM8AUDIO") != std::string::npos)
|
|
||||||
{
|
|
||||||
- aml_set_audio_passthrough(m_passthrough);
|
|
||||||
+ device = "default";
|
|
||||||
}
|
|
||||||
#endif
|
|
Loading…
x
Reference in New Issue
Block a user