<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ned Konz wrote:
<blockquote cite="mid200502191352.45389.ned@squeakland.org" type="cite">
  <pre wrap="">On Saturday 19 February 2005 6:44 am, David Shaffer wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I can break the recording loop with alt-. and it shows that
SoundRecorder is sitting in:

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; n _ self primRecordSamplesInto: currentBuffer
startingAt: nextIndex.

inside the ifFalse: block. &nbsp;It seems that blocking in this prim now
blocks the VM. &nbsp;Really, I don't know...I'm just guessing. &nbsp;Anyway sound
in linux is a mess. &nbsp;I've had problems on occasion with simple programs
like rec or the KDE sound recorder so it never really bothered me that
squeak's recording didn't work.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
OK...

I find that I can't even usefully break (at least in SpectrumAnalyzerMorph).

When I break in gdb, I find myself inside the read inside input() in 
sqUnixSoundOSS.c:

(gdb) p *dsp
$1 = {path = 0xb779d12a "/dev/dsp", fd = 12, caps = 12801, fmts = 505, hw = 
{format = 8,
    channels = 1, rate = 11025, bpf = 2, fragSize = 2048}, sq = {format = 8,
    channels = 1, rate = 11025, bpf = 2, fragSize = 2048}, read = 0xb779cbec 
&lt;input&gt;,
  write = 0xb779cb4c &lt;output&gt;, semaphore = 5, running = 1}

(gdb) call printAllStacks()
Process
2023201148 SoundRecorder&gt;recordLoop
2023200964 [] in SoundRecorder&gt;startRecording
2023201056 [] in BlockContext&gt;newProcess
...

oddly, no UI process in that list. When I hit Alt-. I get what looks like an 
interrupted UI task pre-debug window popping up, but the UI is dead.

Of course, I now find that I can't record with the usual tools outside of 
Squeak either. I should stop updating my system...

In the past, I had recording working in Squeak -- but I'd had to re-compile 
ALSA from their CVS to get it to work with my sound hardware.

  </pre>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Can you tell
us your distro and kernel version?</font></font><br>
<br>
<pre class="moz-signature" cols="72">-- 
________________________________
Hear us online: <a class="moz-txt-link-abbreviated" href="http://www.Sonaural.com">www.Sonaural.com</a>
Brad Fuller
(408) 799-6124
** Sonaural Audio Studios **
(408) 799-6123  West San Jose
(408) 799-6124  Cambrian
</pre>
</body>
</html>