it is not possible to select sound device for snack on OpenBSD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
Wishlist
|
buzzdee |
Bug Description
I had a hard time on OpenBSD 4.5 to get sound working with Coccinella from SVN.
After fiddling around with snack I finally got it installed, however I had no sound on OpenBSD.
Everything seemed to be fine, because the exception was catched in Sound.tcl without providing any error:
} elseif {$priv(snack)} {
if {[catch {$snd play}]} {
# ?
}
snack uses /dev/sound/dsp as default sound device, which doesn't exists on OpenBSD. It took me half a day to figure out that snack uses /dev/sound as default device, which doesn't exists on OpenBSD. I changed it in snack to use /dev/sound and recompiled snack, and magically, I got sound in Coccinella.
The best would be, that in Preferences/Sound the user could select a sound device for playing audio.
If that's fine for you, I'll try to provide a patch for that.
Changed in coccinella: | |
assignee: | nobody → sander (s-devrieze) |
importance: | Undecided → Wishlist |
status: | New → Fix Committed |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
appended patch adds the sound device selection if (priv(snack)) to the Sound preferences.
It may be needed to apply this patch after the patch to bug #427888
It also contains the fix to the last comment made there, regarding the cancel button and the midiCmd