Hello Scratch team,
It would help Debian Squeeze users like me who have ALSA sound, if your startup script was like modified like the patch below shows.
Thanks!
-jeff
*** /usr/bin/scratch 2010-02-20 04:35:00.000000000 +0100
--- /tmp/scratch 2011-12-23 15:03:36.000000000 +0100
***************
*** 2,10 ****
# Squeakvm wrapper to load Scratch image.
#------------------------------------------------------------
/usr/bin/scratch_squeak_vm \
! -plugins /usr/lib/scratch/Plugins \
! -vm-sound-pulse \
! /usr/lib/scratch/Scratch.image "${@}"
--- 2,15 ----
# Squeakvm wrapper to load Scratch image.
#------------------------------------------------------------
+ if [ -d /proc/asound ]; then
+ audio=-vm-sound-alsa
+ else
+ audio=-vm-sound-pulse
+ fi
+
/usr/bin/scratch_squeak_vm \
! -plugins /usr/lib/scratch/Plugins $audio \
! /usr/lib/scratch/Scratch.image "${@}"
Offline
Although this is advanced I think you would be better off posting this in suggestions because the scratch team are more likely to it there.
Offline
Great suggestion!
Well we're really close to re-releasing Scratch 1.4 under the Gnu General Public license. When we do, we hope it'll be easier for contributors like yourself to submit patches, and sort everything out so Scratch will work well on all the different linux distros.
Offline