Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine-core
Commits
2f1c7d26
Commit
2f1c7d26
authored
3 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Unbuffered live audio.
#1
#6
parent
a831a351
No related branches found
No related tags found
No related merge requests found
Pipeline
#1007
passed
3 years ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_alsa_default_analog.liq
+11
-19
11 additions, 19 deletions
tests/test_alsa_default_analog.liq
with
11 additions
and
19 deletions
tests/test_alsa_default_analog.liq
+
11
−
19
View file @
2f1c7d26
#!/usr/bin/liquidsoap
--verbose
#!/usr/bin/
env
liquidsoap
#
#
# Aura Engine (https://gitlab.servus.at/aura/engine)
# Aura Engine (https://gitlab.servus.at/aura/engine)
#
#
# Copyright (C) 2017-
2020
- The Aura Engine Team.
# Copyright (C) 2017-
now()
- The Aura Engine Team.
#
#
# This program is free software: you can redistribute it and/or modify
# 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
# it under the terms of the GNU Affero General Public License as published by
...
@@ -19,21 +19,13 @@
...
@@ -19,21 +19,13 @@
set("init.allow_root", true)
set("init.allow_root", true)
set("log.file.path", "../logs/<script>.log")
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("server.telnet", true)
set("frame.audio.size", 7526)
set("server.telnet.bind_addr", "0.0.0.0")
set("frame.video.framerate", 0)
set("server.telnet.port", 1234)
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)
set("frame.audio.samplerate", 44100)
\ No newline at end of file
# set("frame.audio.size", 16000)
# This causes heaps of buffer underuns:
# input_analog = input.alsa(id="analog_input", device="default", bufferize=true, start=true, fallible=true)
# output.alsa(id="lineout", device="default", input_analog, bufferize=true, fallible=true)
# This seems relatively fine
input_analog = input.alsa(id="analog_input", device="default", bufferize=true, start=true, fallible=true)
input_analog_buffer = buffer.adaptative(id="analog_input_buffer", input_analog, fallible=true)
output.alsa(id="lineout", device="default", input_analog_buffer, bufferize=false, fallible=true)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment