Skip to content
Snippets Groups Projects
Commit 80563668 authored by David Trattnig's avatar David Trattnig
Browse files

Interface tests. #1

parent 2403ed26
No related branches found
No related tags found
No related merge requests found
#!/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
#!/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
#!/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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment