`pipewiresink` outputs malformed waveforms for the first 15 ms
If you are filing this issue with a regular release please try master as it might already be fixed.
Version, Distribution, Desktop Environment:
Description of Problem:
Using the gstreamer
pipewiresink element introduces a "pop" at the beginning and the end of the playback. Looking at the waveforms captured by monitoring the output you can see that the first 15 milliseconds of the playback are malformed.
Steps to Reproduce:
gst-launch-1.0 filesrc location=any.flac ! decodebin ! pipewiresink
These waveforms from top-to-bottom were captured by monitoring the audio card. The first (top-most) waveform was produced by playing
gst-launch-1.0 filesrc location=any.flac ! decodebin ! alsasink, the second through
pw-play and the last via
pipewiresink as described above.
As you can see from the image the playback with
pipewiresink is missing a good chunk of the beginning of the audio file and also has a period of brief 20ms silence at around 100ms mark. This is audible as a pretty nasty "pop":
The audio should play without glitches.