diff --git a/tests/test_alsa_default_analog.liq b/tests/test_alsa_default_analog.liq new file mode 100644 index 0000000000000000000000000000000000000000..9462b18bcb898b2ffd98f462b42515949a822c78 --- /dev/null +++ b/tests/test_alsa_default_analog.liq @@ -0,0 +1,32 @@ +#!/usr/bin/liquidsoap --verbose +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - 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/>. + + +set("init.allow_root", true) +set("log.file.path", "../logs/<script>.log") + +set("server.telnet", true) +set("server.telnet.bind_addr", "0.0.0.0") +set("server.telnet.port", 1234) + +set("frame.audio.samplerate", 44100) +set("frame.audio.size", 16000) + +input_analog = input.alsa(id="analog_input", device="default", bufferize=false, fallible=false, start=true) +output.alsa(id="lineout", device="default", input_analog, bufferize=false) \ No newline at end of file diff --git a/tests/test_alsa_default.liq b/tests/test_alsa_default_file.liq similarity index 96% rename from tests/test_alsa_default.liq rename to tests/test_alsa_default_file.liq index e54e13103e1bcfebdc0210c5c8fce6a1c83fa9fe..d87bf8636684ab8ab31977c5e80edcbb01012859 100644 --- a/tests/test_alsa_default.liq +++ b/tests/test_alsa_default_file.liq @@ -26,7 +26,6 @@ set("server.telnet.bind_addr", "0.0.0.0") set("server.telnet.port", 1234) set("frame.audio.samplerate", 44100) -# set("frame.audio.samplerate", 48000) input_fs = single(id="fs", "audio.mp3") output.alsa(id="lineout", device="default", input_fs) \ No newline at end of file