From f9ef6e70409aa2ea40adb73547baa3b20c2c5371 Mon Sep 17 00:00:00 2001
From: David Trattnig <david@subsquare.at>
Date: Tue, 12 Jul 2022 17:10:18 +0200
Subject: [PATCH] Test: Input with ALSA defaults

---
 tests/test_alsa_live_default.liq | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100755 tests/test_alsa_live_default.liq

diff --git a/tests/test_alsa_live_default.liq b/tests/test_alsa_live_default.liq
new file mode 100755
index 0000000..28fa5a3
--- /dev/null
+++ b/tests/test_alsa_live_default.liq
@@ -0,0 +1,27 @@
+#!/usr/bin/env liquidsoap
+#
+# Aura Engine (https://gitlab.servus.at/aura/engine)
+#
+# Copyright (C) 2017-now() - The Aura Engine Team.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+
+%include "base_config.liq"
+settings.log.level.set(3)
+
+# Tested with Liquidsoap 2.1.x
+# Good and clear initial audio (no long testing yet)
+input_analog = input.alsa(device="default")
+output.alsa(device="default", input_analog)
\ No newline at end of file
-- 
GitLab