PulseAudio sound plugin causes choppy playback running Scratch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squeak-vm (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: squeak-vm
When running Scratch with this VM (1:3.11.
To test:
1. Install squeak-vm and Scratch (http://
2. Run Scratch using this VM, rather than the one that is currently bundled with it:
squeak -vm-sound-pulse /usr/lib/
3. Select Scratch Cat sprite. Click "sounds" tab, play button on "meow."
The current version of Scratch bundles its own VM and pulse plugin that works well (just run scratch without specifying this vm to test). The source code for the vm-sound-pulse plugin that Scratch uses is available here, as is the binary:
http://
Interesting. I'm getting even more alarming behavior on my amd64 system:
lfaraone@ Opus:/tmp/ tmp.38NXQsoKzV/ scratch$ squeak -vm-sound-pulse Scratch 38NXQsoKzV/ scratch
found gettext in path
/tmp/tmp.
openPulseAudio() play, rate: 22050, chans: 2
sound_Start() frameCount >> 1: 1322
Segmentation fault
10292688 [] in SoundPlayer class>playLoop erProcessBuffer Size:rate: stereo: newProcess
10281488 Semaphore>critical:
10281396 SoundPlayer class>playLoop
10292384 [] in SoundPlayer class>startPlay
10292476 [] in BlockContext>
/usr/bin/squeak: line 277: 17489 Aborted (core dumped) $VM "$1" "$2"
I'll test this in a 32-bit Lucid VM.