[pulseaudio-tickets] [PulseAudio] #406: Frets on Fire has eye-straining hickups when using PulseAudio

PulseAudio trac-noreply at tango.0pointer.de
Wed Jan 14 06:25:59 PST 2009


#406: Frets on Fire has eye-straining hickups when using PulseAudio
-----------------------+----------------------------------------------------
  Reporter:  tjyrinki  |       Owner:  lennart
      Type:  defect    |      Status:  new    
  Priority:  normal    |   Milestone:         
 Component:  daemon    |    Severity:  normal 
Resolution:            |    Keywords:         
-----------------------+----------------------------------------------------
Comment (by elupus):

 After looking abit at SDL source, i think the issue is that SDL is
 contineously writing data to the sound server, even if it has nothing to
 play. When nothing to play it writes silence.

 This means it will always fill up any buffer in ALSA or the Pulse server.
 Thus, when an actual event occurs, this is appended at the end of the
 already written data, and pulse will play it when what was in the buffer
 has ended.

 SDL really requires the total buffer size from the alsa call to write to
 the sound hardware to have a minimal buffer. Low latency by itself isn't
 enough (ie if nothing has been written then you start writing data and it
 starts playing quickly).

 So how do one control the maximum buffer of pulse audio's alsa emulation?

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/406#comment:5>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list