After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 383596 - mixer doesnot work if set AUDIODEV on solaris
mixer doesnot work if set AUDIODEV on solaris
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other All
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-08 03:08 UTC by jerry tan
Modified: 2006-12-08 14:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description jerry tan 2006-12-08 03:08:18 UTC
Please describe the problem:
If I set AUDIODEV environment on solaris, 
gnome-volume-controller can not be started

Steps to reproduce:
1. set AUDIODEV to /dev/audio
2. start gnome-volume-control
3. 


Actual results:
an error dialog popup said that no device found

Expected results:
it works 

Does this happen every time?
yes

Other information:
patch for this
--- gstsunaudiomixer.c.old  Wed May  3 17:26:52 2006
+++ gstsunaudiomixer.c     Thu Dec  7 15:56:56 2006
@@ -86,7 +86,7 @@
        if (audiodev == NULL) {
          this->mixer = gst_sunaudiomixer_ctrl_new ("/dev/audioctl");
        } else {
-          gchar *device = g_strdup_printf ("/dev/%sctl", audiodev);
+          gchar *device = g_strdup_printf ("%sctl", audiodev);

          this->mixer = gst_sunaudiomixer_ctrl_new (device);
          g_free (device);
Comment 1 Jan Schmidt 2006-12-08 14:44:52 UTC
Thanks, committed:

        * sys/sunaudio/gstsunaudiomixer.c:
        (gst_sunaudiomixer_change_state):
        Construct the correct mixer device name when the AUDIODEV env var
        is set.

        Patch by: Jerry Tan <jerry.tan at sun dot com>
        Fixes: #383596