[squeak-dev] Sound Options on Squeak Linux - a Question

K. K. Subramaniam subbukk at gmail.com
Thu Mar 6 16:25:19 UTC 2008


On Thursday 06 March 2008 4:13:17 am Milan Zimmermann wrote:
> I have a naive question about sound drivers: Squeak VM 3.9-8 ships with 2
> sound drivers (well 3):
>
> 	vm-sound-null
>  	vm-sound-ALSA
>  	vm-sound-OSS
>
> How does Squeak, at runtime, decide which of them is used?
>
> Is there a way to "ask" for one of them to be used first. For example,
> Linux can have either ALSA or OSS or both available, what is the process of
> deciding which will be used when sound is to be played?
>
> Thanks Milan
You pass a command line parameter -vm-sound-<driver>. The default 
is -vm-sound-ALSA. If you want to check which sound module a running squeak 
process uses, use the command:
 $ grep vm-sound- /proc/$(pgrep -x squeak)/maps

Subbu




More information about the Squeak-dev mailing list