<p><br>
><br>
> Without patch, with a latency of 48 ms:<br>
></p>
<p>><br>
> With the patch, I get the same assertion failed as Peter ("frames > 0").<br>
> With Peter's change, I get this: <a href="http://pastebin.com/dWx6fiwT">http://pastebin.com/dWx6fiwT</a>, even with<br>
> no client connected. The reported delay is -5 * default-fragments *<br>
> default-fragment-size-msec.<br>
></p>
<p>What do mean when you say default-fragments *<br>
default-fragment-size-msec? </p>
<p>Seem pulseaudio using 200ms buffer and 100ms period </p>
<p> it is strange that hwptr is zero when app_ptr is 8820<br><br></p>
<p><a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/tests/alsa-time-test.c">http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/tests/alsa-time-test.c</a></p>
<p>Do alsa-time-test run with fillrate 441 with 10ms Interval ?<br></p>
<p>alsa-sink-USB Audio] alsa-sink.c: Underrun!</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: snd_pcm_delay() returned a value that is exceptionally large: -176572 bytes (-1000 ms).</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: snd_pcm_dump():</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: Hardware PCM card 0 'USB Audio CODEC' device 0 subdevice 0</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: Its setup is:</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: stream : PLAYBACK</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: access : MMAP_INTERLEAVED</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: format : S16_LE</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: subformat : STD</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: channels : 2</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: rate : 44100</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: exact rate : 44100 (44100/1)</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: msbits : 16</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: buffer_size : 8820</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: period_size : 4410</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: period_time : 100000</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: tstamp_mode : ENABLE</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: period_step : 1</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: avail_min : 4410</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: period_event : 1</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: start_threshold : -1</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: stop_threshold : 1156055040</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: silence_threshold: 0</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: silence_size : 0</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: boundary : 1156055040</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: appl_ptr : 8820</p>
<p>E: [alsa-sink-USB Audio] alsa-util.c: hw_ptr : 0<br></p>