Public bug reported:

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

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Parec does not record the silence when capturing the combined.monitor device
https://bugs.launchpad.net/bugs/494072
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to