Skip to content
Snippets Groups Projects
test_alsa_default_analog.liq 1.2 KiB
Newer Older
  • Learn to ignore specific revisions
  • #!/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)
    
    set("frame.audio.size", 7526)
    set("frame.video.framerate", 0)
    input_analog = input.alsa(id="analog_input", device="default", bufferize=false, start=true, fallible=true)
    output.alsa(id="lineout", device="default", input_analog, bufferize=false, fallible=true)