http://bugs.winehq.org/show_bug.cgi?id=28517
--- Comment #5 from Raymond superquad.vortex2@gmail.com 2011-09-30 23:11:34 CDT --- (In reply to comment #3)
The size of the local buffer in frames. The local buffer is needed since ALSA can't guarantee buffer sizes as large as MMDevAPI needs, so we need a place to store the extra data before it gets placed in ALSA's smaller buffer.
Why do you ask?
Have you checked the output of snd_pcm_dump ?
the buffer size of pulse plugin is larget than wine's buffer (1 seconds)
if only set_period_time_near() to 10ms , alsa-lib will select maximum buffer size
ALSA <-> PulseAudio PCM I/O Plugin Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 1 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 451584 period_size : 441 period_time : 10000 tstamp_mode : NONE period_step : 1 avail_min : 441 period_event : 0 start_threshold : 1849688064 stop_threshold : 1849688064 silence_threshold: 0 silence_size : 1849688064 boundary : 1849688064