diff --git a/tests/audio.license.txt b/tests/audio.license.txt new file mode 100644 index 0000000000000000000000000000000000000000..37c632c17edcdee0529b59b7fdfcd2a3d53dab6c --- /dev/null +++ b/tests/audio.license.txt @@ -0,0 +1,2 @@ +Two Pianos by Stefan Kartenberg (c) copyright 2018 Licensed under a Creative Commons Attribution (3.0) license. +http://dig.ccmixter.org/files/JeffSpeed68/57454 Ft: Admiral Bob (admiralbob77) \ No newline at end of file diff --git a/tests/audio.mp3 b/tests/audio.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9006eb45dd9929850d81a2ac85037f027a13fe6d Binary files /dev/null and b/tests/audio.mp3 differ diff --git a/tests/test_alsa_default.liq b/tests/test_alsa_default.liq new file mode 100644 index 0000000000000000000000000000000000000000..e54e13103e1bcfebdc0210c5c8fce6a1c83fa9fe --- /dev/null +++ b/tests/test_alsa_default.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.samplerate", 48000) + +input_fs = single(id="fs", "audio.mp3") +output.alsa(id="lineout", device="default", input_fs) \ No newline at end of file