GNOME Bugzilla – Bug 392620
gnome-sound-record can not be started on sunray client on solaris
Last modified: 2007-04-12 11:38:20 UTC
Please describe the problem: gnome-sound-record can not be started on sunray client on solaris Steps to reproduce: 1. login to one solaris server on one sunray client 2. start gnome-sound-record 3. Actual results: an error dialog pop up , it says that the media setting is not correct Expected results: its gui shows up, and works. Does this happen every time? yes Other information:
the reason is that sunray client use a special driver, it doesnot support multiple open. so when call gst_sunaudiosrc_open, it will fail.
Created attachment 79359 [details] [review] patch for this. my patch remove the call of ioctl (fd, AUDIO_MIXER_MULTIPLE_OPEN), it is the application's responsibility to make sure it open the device once. also, my patch remove a careless error if AUDIODEV is set
Patch by: jerry tan <jerry dot tan at sun dot com> * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open): remove the call of ioctl (fd, AUDIO_MIXER_MULTIPLE_OPEN), it is the application's responsibility to make sure it open the device once. Remove a careless error if AUDIODEV is set. Fixes #392620.