Summary: | beep-media-player (bmp) volume 0% mute fix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CBke -Left- bye <cbatdotcom> |
Component: | Current packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | CC: | sven |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Mute fix in bmp 0.9.7 |
Description
CBke -Left- bye
2005-05-16 18:18:05 UTC
Created attachment 59073 [details, diff]
Mute fix in bmp 0.9.7
applied to native souce
Have you submitted your bug upstream? If so, what is the bug number there? (In reply to comment #2) > Have you submitted your bug upstream? > If so, what is the bug number there? No, is it a feature of alsa not to completely mute with a zero value, or rather a bug in beep-media-player? In gklellm Volume Plugin 2.1.13 they expl. mute with a 0, but alsa-mixer doesn't just like bmp. But then again in I found in alsa-lib-1.0.9rc3/src/mixer/simple.c th following code: <code> void snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t *elem, long min, long max) { selem_t *s; assert(elem); assert(elem->type == SND_MIXER_ELEM_SIMPLE); assert(min < max); s = elem->private_data; s->str[PLAY].range = 1; s->str[PLAY].min = min; s->str[PLAY].max = max; selem_read(elem); } </code> On line 7 assert(min < max) with a 0 will not compute so i'll go for alsa ;) nvm wrong piece of code This needs to be reported upstream to have them decide. You are changing the behaviour of the mixer, while the current behaviour is exactly what ALSA itself does. This may have been a conscious design decision. |