Hello Raymond. I do not really understand what your message means to us
or what we should do in your opinion. Either the grammar on this
sentence is wrong, or my english is worse than I thought. Nevertheless
thank you for pointing out stream volumes and sink volume. Because of
that I was to add:

If you have 3 streams connected to one sink, and then one stream changes
volume, then the whole sink is rewinded. I am rather sure, that it's
this rewind that breaks the audio stream you can record from the
sink.monitor source.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1024955

Title:
  Changing volume while parec records monitor causes sound to studder

Status in “pulseaudio” package in Ubuntu:
  Incomplete

Bug description:
  Changing volume while parec records monitor causes recorded sound to
  stutter (synonyms: lag, jump, skips). The output sound does not
  studder or lag, only the file of the recording suffers from the volume
  modification. This was tested on audio coming from Firefox/Flash as
  well as VLC. Both applications produce the same result.

  How to reproduce:
  1) Use the following script which finds the monitor pseudo-device and records 
its output to a file using sox.

  #!/bin/bash
  #This script requires sox, if not installed, run " sudo apt-get install sox" 
command first.
  # Get PA sink monitor name:
  MONITOR=$(pactl list | grep -A2 '^Source #' |  grep 'Name: .*\.monitor$' | 
awk '{print $NF}' | tail -n1)
  # Record monitor output
  echo "Recording from $MONITOR"
  echo "Press Ctrl-C or close window to stop recording"
  parec -d "$MONITOR" | sox -t raw -r 44100 -sLb 16 -c 2 - ~/output.wav

  2) While it is recording, play with the volume controls (top panel
  volume/speaker icon) to bring the volume all the way down, and then
  all the way up using your mouses scroll wheel or touchpads scroll
  functionality.

  Result: recorded sound stutter or lags

  Expected: monitor device is not linked to output volume therefore
  sound should be recorded without interference from regular system use.

  Question: Trying to find the cause of the interference is beyond me.
  Could this issue be related to sox? If so, could someone recommend or
  test this script with a different program?

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio-utils 1:1.1-0ubuntu15.1
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
  Uname: Linux 3.2.0-26-generic-pae i686
  NonfreeKernelModules: wl
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  komputes   1936 F.... pulseaudio
                        komputes   3871 F.... pulseaudio
   /dev/snd/pcmC0D0p:   komputes   3871 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf0540000 irq 44'
     Mixer name : 'Realtek ALC268'
     Components : 'HDA:10ec0268,102802b0,00100101'
     Controls      : 17
     Simple ctrls  : 10
  Date: Sun Jul 15 08:30:10 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 
(20120423.2)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/09/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A07
  dmi.board.name: CN0J14
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A07
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A07
  dmi.modalias: 
dmi:bvnDellInc.:bvrA07:bd04/09/2010:svnDellInc.:pnInspiron910:pvrA07:rvnDellInc.:rnCN0J14:rvrA07:cvnDellInc.:ct8:cvrA07:
  dmi.product.name: Inspiron 910
  dmi.product.version: A07
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1024955/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to