scratch tries to access /dev/dsp when pulseaudio is not installed

Bug #1310147 reported by ԜаӀtеr Ⅼарсһуnѕkі
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
scratch (Ubuntu)
New
Undecided
Unassigned

Bug Description

this is currently with lubuntu 13.10 64 bit but the problem is in the present code. currently to deal with sound, /usr/bin/scratch checks if pulse is running and if it is, passes the -vm-sound-pulse option to squeakvm. the fall back is to use /dev/dsp, which is the option -vm-sound-OSS. at least another option i know of is -vm-sound-ALSA. i don't know of ubuntu using OSS, so i think you can safely assume ALSA. that being said, the attached patch should fix it up. i'd like to check if alsa is running, but i don't know of a good way to do that.

Tags: patch
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "adds ALSA support if pulseaudio isn't running" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.