[pulseaudio-tickets] [Bug 99689] New: Recording from monitor has glitches when playing other sounds.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 6 06:38:35 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99689

            Bug ID: 99689
           Summary: Recording from monitor has glitches when playing other
                    sounds.
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: dirbaio at dirbaio.net
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Created attachment 129350
  --> https://bugs.freedesktop.org/attachment.cgi?id=129350&action=edit
tgz containing sine.wav, silence.wav, recorded.wav

Attached in the .tar.gz are 3 files:
- sine.wav: 30-second sine wave
- silence.wav: 0.1-second silence
- recorded.wav: the glitched recorded result.

How to reproduce: 

- run: 
    paplay sine.wav
- While the sine wave is playing, in another terminal run:
    parec -d $MONITOR --file-format=wav > recorded.wav
where $MONITOR is your monitor device, in my case it's
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
- While recording, in another terminal run: 
    paplay silence.wav
- stop parec with Control+C
- stop the paplay sine.wav
- Listen to recorded.wav: you should hear glitches similar to my recorded.wav.
The sine wave plays, but really short periods of silence are inserted.

Some more interesting things: 
- If you play silence.wav many times, you get more glitches in the recording.
Every play seems to trigger 1-2 glitches.
- Any sound playing triggers the glitches - system sounds for example.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170206/17880597/attachment.html>


More information about the pulseaudio-bugs mailing list