<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Heya,<div><br><div><div>On Sep 22, 2008, at 5:01 PM, Nick Thompson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>Where should I start looking to address this? </div></span></blockquote></div><br></div><div>There appears to be an extraneous assert in sink.c. Removal of this assert allows module-null-sink to function correctly, playing a sine wave into a null sink and recoding the monitor-source for the sink via <sink-name>.monitor yields a sine wave with no glitches.</div><div><br></div><div>Here is the change made:</div><div><br></div><div>--------------------------</div><div><!--StartFragment--><font face="Verdana, Helvetica, Arial"><span style="font-size:12.0px">diff -ruN pulseaudio-0.9.12-r11.orig/pulseaudio-0.9.12/src/pulsecore/sink.c pulseaudio-0.9.12-r11/pulseaudio-0.9.12/src/pulsecore/sink.c<br>
--- pulseaudio-0.9.12-r11.orig/src/pulsecore/sink.c 2008-09-23 10:14:55.000000000 -0700<br>
+++ pulseaudio-0.9.12-r11/src/pulsecore/sink.c 2008-09-23 10:18:25.000000000 -0700<br>
@@ -629,7 +629,9 @@<br>
<br>
pa_sink_ref(s);<br>
<br>
- pa_assert(!s->thread_info.rewind_requested);<br>
+ /* this assertion seems to be unecessary, remove */<br>
+ /* pa_assert(!s->thread_info.rewind_requested); */<br>
+<br>
pa_assert(s->thread_info.rewind_nbytes == 0);<br>
<br>
if (length <= 0)<br>
-----------------------
</span></font><!--EndFragment--></div></body></html>