[pulseaudio-tickets] [PulseAudio] #848: Loud noise for pa_stream_flush()

PulseAudio trac-noreply at tango.0pointer.de
Thu Aug 26 01:00:59 PDT 2010


#848: Loud noise for pa_stream_flush()
------------------------+---------------------------------------------------
  Reporter:  mschwendt  |       Owner:  lennart                                 
      Type:  defect     |      Status:  new                                     
 Milestone:             |   Component:  daemon                                  
Resolution:             |    Keywords:  very loud short sound on stream flushing
------------------------+---------------------------------------------------

Comment(by coling):

 Yeah the reason I mentioned it can save power is to offload software
 volume changes to the h/w. Of course this is often a fallacy with the h/w
 that makes use of alsa softvolume, but it's still worth considering.

 I think ultimately that you are right about the "return to reference
 volume" thing. It's only really needed to keep alsa-mixer users happy. I
 don't think there is any need to drop it to zero either, just leaving it
 where it ends up is probably fine (if we did drop to zero, then wouldn't
 the loud woof currently heard turn out to be a clipping of the last little
 bit of sound?).

 That said, even if people do use PA as their sound system, many users
 still want an alsa mixer. I think we need to address various other issue
 regarding this first (i.e. pass through of certain switches and controls
 to our GUIs), before we start to drop support for using an alsa mixer
 directly.


 I am a little surprised to hear that the audio latency is not taken into
 account when changing volume. I very much assumed that it was and it was
 just the latency of the mixer change that ultimately caused problems. I've
 not really looked at that code, but how hard do you think it would be to
 in corporate that? Would getting the timing right be tricky (thinking
 about the issues involved, it perhaps is).

-- 
Ticket URL: <http://pulseaudio.org/ticket/848#comment:10>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list