Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40187 - [scratch] Sound not working PulseAudio

Attached to Project: Community Packages
Opened by Mohammed Yaseen Mowzer (moyamo) - Friday, 02 May 2014, 08:28 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 03 May 2014, 22:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Sound in Scratch does not work with PulseAudio.

Examining /usr/bin/scratch yeilds:

if pulseaudio --check 2>/dev/null ; then
VMOPTIONS="$VMOPTIONS -vm-sound-ALSA"
else
VMOPTIONS="$VMOPTIONS -vm-sound-ALSA"
fi

It seems like scratch is loading the ALSA plugin even when pulseaudio is running.
/usr/lib/squeak does not seem to have a pulse audio plugin.

Additional info:
* scratch 1.4.0.7-3
* squeak-vm 4.10.2.2614-1


Steps to reproduce:

0. Ensure PulseAudio is running.
1. Open Scratch.
2. Select the cat sprite.
3. Select the sound tab.
4. Press the play button of the "meow" sound.
5. No sound is played.
6. Run "pulseaudio --kill" in a terminal.
7. Press the play button again.
8. Sound now works, but with PulseAudio disabled.
This task depends upon

Closed by  Jonathan Steel (jsteel)
Saturday, 03 May 2014, 22:41 GMT
Reason for closing:  Fixed
Comment by Jonathan Steel (jsteel) - Friday, 02 May 2014, 21:07 GMT
Thanks, this should be fixed with:

scratch 1.4.0.7-4
squeak-vm 4.10.2.2614-2

Please confirm.
Comment by Mohammed Yaseen Mowzer (moyamo) - Friday, 02 May 2014, 22:22 GMT
Yes, those are the latest versions of those packages. I do not know if sound worked in previous versions.

/usr/bin/scratch should have this

if pulseaudio --check 2>/dev/null ; then
VMOPTIONS="$VMOPTIONS -vm-sound-ALSA"
else
VMOPTIONS="$VMOPTIONS -vm-sound-ALSA"
fi

changed to this:

if pulseaudio --check 2>/dev/null ; then
VMOPTIONS="$VMOPTIONS -vm-sound-pulse"
else
VMOPTIONS="$VMOPTIONS -vm-sound-ALSA"
fi

and squeak should install so.vm-sound-pulse
Comment by Jonathan Steel (jsteel) - Saturday, 03 May 2014, 08:09 GMT
Yes, those are the changes I made with those versions. Please update to those versions and confirm this is now resolved.

Thanks
Comment by Mohammed Yaseen Mowzer (moyamo) - Saturday, 03 May 2014, 22:28 GMT
Sorry, I misunderstood your initial question. I didn't notice you changed the release number.

Yes, sound does now work with pulseaudio, thanks for your help.
Comment by Jonathan Steel (jsteel) - Saturday, 03 May 2014, 22:41 GMT
OK no problem, thanks for confirming it's OK now.

Loading...