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
b0588833
Commit
b0588833
authored
2 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Test: Update live audio cases for Liquidsoap 2
parent
9ddaa5d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
Liquidsoap 2 migration
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_alsa_framesize.liq
+2
-1
2 additions, 1 deletion
tests/test_alsa_framesize.liq
tests/test_alsa_live_buffered.liq
+11
-4
11 additions, 4 deletions
tests/test_alsa_live_buffered.liq
with
13 additions
and
5 deletions
tests/test_alsa_framesize.liq
+
2
−
1
View file @
b0588833
...
...
@@ -19,10 +19,11 @@
%include "base_config.liq"
settings.log.level.set(3)
# Set this to the value mentioned in the logs after the first run. Watch the logs and double the value if needed.
# Find more details here: https://gitlab.servus.at/aura/engine-core/-/blob/master/docs/audio-device-configuration.md
settings.frame.audio.size.set(0)
settings.frame.video.framerate.set(0)
#
settings.frame.video.framerate.set(0)
output.alsa(device="default", bufferize=false, input.alsa(device="default", bufferize=false))
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/test_alsa_live_buffered.liq
+
11
−
4
View file @
b0588833
...
...
@@ -19,13 +19,20 @@
%include "base_config.liq"
settings.
audio.converter.samplerate.converters.set(["ffmpeg"]
)
settings.
log.level.set(3
)
# Successfully tested with Liquidsoap 1.4.4 & ALSA 1.1.3
# Low latency, no buffer underruns
settings.frame.audio.size.set(2048)
settings.alsa.alsa_buffer.set(8192)
settings.alsa.buffer_length.set(10)
# settings.audio.converter.samplerate.converters.set(["ffmpeg"])
# settings.frame.audio.size.set(2048)
# settings.alsa.alsa_buffer.set(8192)
# settings.alsa.buffer_length.set(10)
# Liquidsoap 2.1 and ALSA 1.2.4
# Only short testing with PulseAudio enabled
# Low latency & clear quality
settings.frame.audio.size.set(1764)
settings.alsa.alsa_buffer.set(7056)
input_analog = input.alsa(device="default", bufferize=true)
output.alsa(device="default", input_analog, bufferize=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