diff --git a/tests/test_queue_activate.liq b/tests/test_queue_activate.liq index 2d8645e20916487db6a5e3a9cbb874b8e5d302db..8ac4b86c68e05eb6e1624a85fd77714184356c6f 100644 --- a/tests/test_queue_activate.liq +++ b/tests/test_queue_activate.liq @@ -18,7 +18,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -%include "base_config.liq" + %include "base_config.liq" settings.log.level.set(3) @@ -46,12 +46,10 @@ stripped_mixer = blank.strip(max_blank=5., mixer) main_out = fallback(track_sensitive=false, [stripped_mixer, fallback_folder]) main_out.on_metadata(on_metadata_notification) main_out.on_track(on_track_notification) -output.alsa(device="default", mksafe(main_out), bufferize=true) +output.alsa(device="pcm.aura_engine", mksafe(main_out), bufferize=true) ################################################################################################## -# Test case (Liquidsoap 2.1, final deb version) -# $ liquidsoap --version -# Liquidsoap 2.1.0 +# Test case (Liquidsoap 2.1, DEB or Docker version) # 1. Add requests r1 = request.create("assets/audio.mp3") @@ -79,6 +77,12 @@ thread.run(delay=5., { enable_queue() }) # on_metadata - update (TRACK: Two Pianos), ON AIR: 2022/08/02 12:58:03 # on_track - update (TRACK: Two Pianos), ON AIR: 2022/08/02 12:58:03 -# 5. FAIULURE: Audio from the queue starts playing only approx. 23 seconds later +# 5. +# +# FAILURE: When ALSA is used as a PulseAudio Plugin. +# Audio from the queue starts playing only approx. 23 seconds later # This delay of 23 seconds is always the same, no matter when the server commands -# are issued (e.g. 30secs later) nor how many requests are pushed to the queue \ No newline at end of file +# are issued (e.g. 30secs later) nor how many requests are pushed to the queue +# +# SUCCESS: When ALSA is used directly, ensuring any PulseAudio server is shut down. +# Queued audio is played at the same time, as the metadata from 4.) is issued.