! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
OSSv4 and xfce4-mixer don't get along
Status:
RESOLVED: FIXED
Priority:
Very High
Severity:
critical
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description Greg Williamson 2008-10-26 21:28:22 CET
I am currently using Archlinux, xfce4-mixer 4.5.91-4 and OSS 4.1. When i drag the "codec jack init-speaker speaker" bar then quit xfce4-mixer when i reopen xfce4-mixer there are no bars. And when i go to add it again there is a weird number or symbol next to it. 

Here is my ossinfo incase it helps

Version info: OSS 4.1 (b rc2/200810251340) (0x00040090) GPL
Platform: Linux/i686 2.6.27-ARCH #1 SMP PREEMPT Fri Oct 17 07:35:10 UTC 2008 (greg-laptop)

Number of audio devices:	5
Number of audio engines:	9
Number of mixer devices:	1


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 Intel HD Audio interrupts=623 (623)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086284b
    Subvendor ID 0x103c30cc
     Codec  0: ALC268 (0x10ec0268/0x103c30cc)
     Codec  1: Unknown (0x10573055)
 2: oss_usb0 USB audio core services


Mixer devices
 0: High Definition Audio ALC268 (Mixer 0 of device object 1)

Audio devices
HD Audio play speaker             /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play headphone           /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 2)
HD Audio rec select               /dev/oss/oss_hdaudio0/pcmin0  (device index 3)
HD Audio rec select               /dev/oss/oss_hdaudio0/pcmin1  (device index 4)

Also I have made a video demonstrating the problem attached to this bug report
Comment 1 Greg Williamson 2008-10-26 21:36:19 CET
Created attachment 1923 
video of xfce4-mixer bug
Comment 2 lh 2008-10-27 09:19:54 CET
i am using archlinux, ossv4, xfce4.5.91, too

but it seems i dont have this problem, and i didnt get so many option box there, i just have one. and it can change vmix0-outvol.

have you install the gstreamer0.10-good-plugins-ossv4 in AUR?
Comment 3 dannym editbugs 2009-01-11 12:02:39 CET
Greg: can you try whether the test_vc <http://svn.xfce.org/index.cgi/xfce/xfce4-mixer/branches/xfce_4_4/lib/test_vc.c?revision=24727&view=markup> works? You have to compile it yourself, though. Instructions how are at the top of the file, or:

$ svn co http://svn.xfce.org/svn/xfce/xfce4-mixer
$ cd xfce4-mixer/branches/4.4
$ ./autogen.sh --sysconfdir=/etc --prefix=/usr --enable-debug
$ cd lib
$ gcc -o test_vc test_vc.c vc_oss.c -I../include `pkg-config --cflags --libs gtk+-2.0 libxfce4util-1.0` vc.c vcs.c -DUSE_OSS -DHAVE_CONFIG_H -g3 -I..
$ ./test_vc

It should output a list of all available controls for your sound card (using the same library used in the GUI).
Comment 4 dannym editbugs 2009-01-11 22:55:04 CET
ah, waaait a second, xfce4-mixer 4.5.91.... Jannis?
Comment 5 Jannis Pohlmann editbugs 2009-02-01 16:07:46 CET
I'm investigating this right now.
Comment 6 Jannis Pohlmann editbugs 2009-02-01 17:06:09 CET
To me it looks like the label members of the GstMixerTracks provided by the OSS4 backend are not NUL-terminated or something like that. So when you use track->label as a string in the GUI you'll end up with a few random chars at the end. 

I've committed something in revision 29424, which hopefully fixes this:

  * libxfce4mixer/libxfce4mixer.c,
    libxfce4mixer/xfce-mixer-preferences.c,
    libxfce4mixer/xfce-mixer-track-combo.c,
    xfce4-mixer/xfce-mixer-controls-dialog.c,
    xfce4-mixer/xfce-mixer-option.c, xfce4-mixer/xfce-mixer-switch.c,
    xfce4-mixer/xfce-mixer-track.c, xfce4-mixer/xfce-mixer.c: Don't read
    track labels from the 'label' member of the GstMixerTrack struct.
    Instead, use the 'label' property. The struct member is undocumented
    and may not work with all backends.

Greg, can you try again with that?
Comment 7 Guido Berhoerster 2012-09-28 12:05:39 CEST
This should be fixed and there has been no response from the reported since 2009. Please reopen if this is still an issue with 4.9.0.

Bug #4521

Reported by:
Greg Williamson
Reported on: 2008-10-26
Last modified on: 2012-09-28

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

video of xfce4-mixer bug (155.09 KB, video/x-msvideo)
2008-10-26 21:36 CET , Greg Williamson
no flags

Additional information