From 8937c097a30493be3a1cd780a867e747b5bb848f Mon Sep 17 00:00:00 2001 From: David Trattnig <david@subsquare.at> Date: Mon, 18 Jul 2022 16:10:58 +0200 Subject: [PATCH] Config: Disable optional ALSA settings at start --- config/sample-development.engine-core.ini | 16 ++++++++-------- config/sample-docker.engine-core.ini | 16 ++++++++-------- config/sample-production.engine-core.ini | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/config/sample-development.engine-core.ini b/config/sample-development.engine-core.ini index cdef57e..b234274 100644 --- a/config/sample-development.engine-core.ini +++ b/config/sample-development.engine-core.ini @@ -56,22 +56,22 @@ output_device_3="" output_device_4="" # ADVANCED ALSA SETTINGS - Defaults are recommended; you might need to tweak these values if you're hearing jitter, cracklings or other artifacts or having generally bad latency -# + # Buffered audio is quite simple to setup but has some latency; Unbuffered provides low latency but requires a valid frame size. -alsa_use_buffer="true" +; alsa_use_buffer="true" # Usually provided by your device -alsa_sample_rate="" +; alsa_sample_rate="" # Set to 0 to use the ALSA default. If using hardware directly (hw:0) start with 8192. Higher values give higher latency and lower CPU usage. -alsa_buffer="8192" +; alsa_buffer="8192" # Only used for buffered ALSA I/O, and affects latency. Probably not wanted for live audio. Defaults to "1". -alsa_buffer_length="10" +; alsa_buffer_length="10" # Set to 0 or leave empty to use the ALSA default. -alsa_periods="" +; alsa_periods="" # Frame Size ("frame.audio.size") is provided by ALSA and is specific to your Audio Device. Needs to manually obtained and set correctly. -alsa_frame_size="2048" +alsa_frame_size="7056" # Tentative frame duration in seconds, defaults to "0.04" (Float). This setting is used as a hint for the duration, # when ‘frame_size’ is not provided. It's required for getting things in sync, but it's actually tricky to set correctly. -alsa_frame_duration="" +; alsa_frame_duration="" [stream] # defines enabled or not diff --git a/config/sample-docker.engine-core.ini b/config/sample-docker.engine-core.ini index c46a383..c1e0605 100644 --- a/config/sample-docker.engine-core.ini +++ b/config/sample-docker.engine-core.ini @@ -56,22 +56,22 @@ output_device_3="" output_device_4="" # ADVANCED ALSA SETTINGS - Defaults are recommended; you might need to tweak these values if you're hearing jitter, cracklings or other artifacts or having generally bad latency -# + # Buffered audio is quite simple to setup but has some latency; Unbuffered provides low latency but requires a valid frame size. -alsa_use_buffer="true" +; alsa_use_buffer="true" # Usually provided by your device -alsa_sample_rate="" +; alsa_sample_rate="" # Set to 0 to use the ALSA default. If using hardware directly (hw:0) start with 8192. Higher values give higher latency and lower CPU usage. -alsa_buffer="8192" +; alsa_buffer="8192" # Only used for buffered ALSA I/O, and affects latency. Probably not wanted for live audio. Defaults to "1". -alsa_buffer_length="10" +; alsa_buffer_length="10" # Set to 0 or leave empty to use the ALSA default. -alsa_periods="" +; alsa_periods="" # Frame Size ("frame.audio.size") is provided by ALSA and is specific to your Audio Device. Needs to manually obtained and set correctly. -alsa_frame_size="2048" +alsa_frame_size="7056" # Tentative frame duration in seconds, defaults to "0.04" (Float). This setting is used as a hint for the duration, # when ‘frame_size’ is not provided. It's required for getting things in sync, but it's actually tricky to set correctly. -alsa_frame_duration="" +; alsa_frame_duration="" [stream] # defines enabled or not diff --git a/config/sample-production.engine-core.ini b/config/sample-production.engine-core.ini index cdef57e..b234274 100644 --- a/config/sample-production.engine-core.ini +++ b/config/sample-production.engine-core.ini @@ -56,22 +56,22 @@ output_device_3="" output_device_4="" # ADVANCED ALSA SETTINGS - Defaults are recommended; you might need to tweak these values if you're hearing jitter, cracklings or other artifacts or having generally bad latency -# + # Buffered audio is quite simple to setup but has some latency; Unbuffered provides low latency but requires a valid frame size. -alsa_use_buffer="true" +; alsa_use_buffer="true" # Usually provided by your device -alsa_sample_rate="" +; alsa_sample_rate="" # Set to 0 to use the ALSA default. If using hardware directly (hw:0) start with 8192. Higher values give higher latency and lower CPU usage. -alsa_buffer="8192" +; alsa_buffer="8192" # Only used for buffered ALSA I/O, and affects latency. Probably not wanted for live audio. Defaults to "1". -alsa_buffer_length="10" +; alsa_buffer_length="10" # Set to 0 or leave empty to use the ALSA default. -alsa_periods="" +; alsa_periods="" # Frame Size ("frame.audio.size") is provided by ALSA and is specific to your Audio Device. Needs to manually obtained and set correctly. -alsa_frame_size="2048" +alsa_frame_size="7056" # Tentative frame duration in seconds, defaults to "0.04" (Float). This setting is used as a hint for the duration, # when ‘frame_size’ is not provided. It's required for getting things in sync, but it's actually tricky to set correctly. -alsa_frame_duration="" +; alsa_frame_duration="" [stream] # defines enabled or not -- GitLab