[squeak-dev] Squeak sound on Unix; potential improvement found in old code

David T. Lewis lewis at mail.msen.com
Thu Mar 23 00:59:46 UTC 2017


On Wed, Mar 22, 2017 at 02:55:17PM -0700, tim Rowledge wrote:
> I???ve been doing some swiki-cleaning and stumbled upon 
> http://wiki.squeak.org/squeak/263
> wherein Lex Spoon had written some code to drive the /dev/dsp sound device doohickey on unix. Since it claimed to be able to support low-latency sound playing, this may be useful to those of you interested in making noises.
> 
> It???s old, possibly wrong, but it???s there awaiting attention from someone with a bit of appropriate knowledge.
>

Nice find. A lot of what Lex did is worth a second look :-)

Quite a bit has changed in the intervening years with respect to sound on
Squeak and Linux. For example, there is no longer such a thing as /dev/dsp
on my Ubuntu box, or on my Raspberry Pi. I think that device was associated
with an older sound system (OSS). Nevertheless, the basic idea of the mmap
driver interface may be applicable to something.

Just a sanity check - do you have sound with whatever VM you are using? I
have some VMs that seem to have trouble finding -vm-sound-pulse, possibly
due to build system issues.

Dave
 


More information about the Squeak-dev mailing list