Parec does not record the silence when capturing the combined.monitor device

Bug #494072 reported by bnj on 2009-12-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

During the capture of the simultaneous output called combined.monitor with the module-suspend-on-idle unloaded when the combined.monitor device goes on idle parec stop to send data (= stop to record the silence)

To reproduce this bug :
1 - Create a simultaneous output with pavucontrol > Configure Local Sound Server > Simultaneous Output Tab, Check the box

2 - Comment load-module module-suspend-on-idle in the ~/.pulse/default.pa file
    If this file does not exist, create it with the command cp /etc/pulse/default.pa $HOME/.pulse/default.pa
    You probably have to logout and login to apply the change

3 - Launch an application which produce some sound then redirect that application to the Simultaneous output with pavucontrol > Volume Control > Playback Tab

4 - Now record the combined.monitor device (=Simultaneous output) with the command
    parec --device=combined.monitor --format=s16le --rate=44100 --channels=2 --verbose test.pcm

If you pause or stops the playback in the audio application, the monitor.device goes on idle (which is normal) BUT parec does not record the silence (= it stop to send data to the test.pcm file)

When capturing a normal monitor device that you can lists with the command below you do not have such problem
    LANG=C pactl list | grep -A2 'Source #' | grep 'Name' | grep 'monitor' | cut -d " " -f2

Example: with the command
    parec --device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --format=s16le --rate=44100 --channels=2 --verbose test.pcm

parec record the silence perfectly

-----
Ubuntu 9.10
uname -a = Linux XXXX 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:07:16 UTC 2009 x86_64 GNU/Linux
pulseaudio --version = pulseaudio 0.9.19

References:
http://pulseaudio.org/wiki/Modules#module-suspend-on-idle
http://pulseaudio.org/wiki/FAQ#HowdoIrecordstuff

Daniel T Chen (crimsun) wrote :

Is this reproducible using the most current daily-live desktop Lucid image?

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
bnj (b2besses) wrote :

Yes it is reproducible with the daily of march 7th installed on virtualbox

Daniel T Chen (crimsun) wrote :

That is not sufficient testing. I need you to boot from the live cd and verify it.

bnj (b2besses) wrote :

OK, But what is the procedure to activate the simultaneous output on a live CD ?

It's the same procedure as on a desktop install, likely entailing installing
paprefs and pavucontrol, setting the desired sinks, etc.

On Mar 7, 2010 3:56 PM, "bnj" <email address hidden> wrote:

OK, But what is the procedure to activate the simultaneous output on a
live CD ?

--
Parec does not record the silence when capturing the combined.monitor device
https://bugs.launc...
Status in “pulseaudio” package in Ubuntu: Incomplete

Bug description:
Binary package hint: pulseaudio

During the capture of the simultaneous output cal...

bnj (b2besses) wrote :

Hi,
I have done the test with the lucid-desktop-amd64.iso build of the march 12th.
I have used a live USB (my CD burner stop to work since few month)
Intall paprefs..., Unload module-suspend-on-idle, Set the simultaneous output
And parec does not record the silence
regards

Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers