diff --git a/tests/device/alsa_focusrite_scarlett_18i20.liq b/tests/device/alsa_focusrite_scarlett_18i20.liq new file mode 100755 index 0000000000000000000000000000000000000000..82b33462bf40316e7cd5f102762648d2f8095a75 --- /dev/null +++ b/tests/device/alsa_focusrite_scarlett_18i20.liq @@ -0,0 +1,32 @@ +#!/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/>. + + +set("init.allow_root", true) +set("init.catch_exn", false) +set("init.trace", true) +set("log.file.path", "../../logs/<script>.log") +set("log.level", 5) +set("ffmpeg.log.level", 5) + +# Successfully tested with ALSA 1.2.4 +set("frame.audio.size", 15052) +set("frame.video.framerate", 0) +input_analog = input.alsa(id="analog_input", device="sysdefault:CARD=USB", bufferize=false, start=true, fallible=true) +output.alsa(id="lineout", device="sysdefault:CARD=USB", input_analog, bufferize=false, fallible=true) \ No newline at end of file diff --git a/tests/device/alsa_focusrite_scarlett_2i2.liq b/tests/device/alsa_focusrite_scarlett_2i2.liq new file mode 100755 index 0000000000000000000000000000000000000000..04814fb0aa378c18af9537eaeaa08ce78634029b --- /dev/null +++ b/tests/device/alsa_focusrite_scarlett_2i2.liq @@ -0,0 +1,32 @@ +#!/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/>. + + +set("init.allow_root", true) +set("init.catch_exn", false) +set("init.trace", true) +set("log.file.path", "../../logs/<script>.log") +set("log.level", 5) +set("ffmpeg.log.level", 5) + +# Successfully tested with ALSA 1.2.4 +set("frame.audio.size", 7526) +set("frame.video.framerate", 0) +input_analog = input.alsa(id="analog_input", device="sysdefault:CARD=USB", bufferize=false, start=true, fallible=true) +output.alsa(id="lineout", device="sysdefault:CARD=USB", input_analog, bufferize=false, fallible=true) \ No newline at end of file diff --git a/tests/device/alsa_ni_komplete_audio_6.liq b/tests/device/alsa_ni_komplete_audio_6.liq new file mode 100755 index 0000000000000000000000000000000000000000..fbc9dcfe5499752a0bc69f5871b0d879ad7cf21c --- /dev/null +++ b/tests/device/alsa_ni_komplete_audio_6.liq @@ -0,0 +1,33 @@ +#!/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/>. + + +set("init.allow_root", true) +set("init.catch_exn", false) +set("init.trace", true) +set("log.file.path", "../../logs/<script>.log") +set("log.level", 5) +set("ffmpeg.log.level", 5) + + +# Successfully tested with ALSA 1.2.4 +set("frame.audio.size", 7526) +set("frame.video.framerate", 0) +input_analog = input.alsa(id="analog_input", device="sysdefault:CARD=K6", bufferize=false, start=true, fallible=true) +output.alsa(id="lineout", device="sysdefault:CARD=K6", input_analog, bufferize=false, fallible=true)