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 89130 - Unable to record for more than one second
Unable to record for more than one second
Status: RESOLVED DUPLICATE of bug 90719
Product: esound
Classification: Deprecated
Component: general
unspecified
Other Solaris
: High major
: ---
Assigned To: Esound Maintainers
Luis Villa
Depends on:
Blocks:
 
 
Reported: 2002-07-26 10:42 UTC by Markh
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Markh 2002-07-26 10:42:51 UTC
Using the sound recorder, pressing record only records for around one
second then stops itself.

To Reproduce:

1) Choose applications menu -> click sound and video option.
2) Click sound recorder.
3) Click the record button.

Result:

Recording begins, then stops after around one second.
Comment 1 Luis Villa 2002-07-29 20:28:38 UTC
What defaults and options do you have set in your preferences menus? I
can't test it ATM, but in the past this has worked just fine for me.
Comment 2 Balamurali Viswanathan 2002-07-31 07:07:37 UTC
I am also seeing this problem both in Solaris and Linux, when I do
pkill esd and then start sound recorder, it works fine. Can you please
conform this.

Luis: If this is the case can we move this bug to esd, so that
Frederic Crozat might be aware of this issue, Thanks

One more thing I noted is: If we choose "Enable sound server startup"
and "Sound for events" in Desktop preferences->sound then logout and
login, start sound recorder and recording is fine.
Comment 3 Elliot Lee 2002-07-31 13:00:46 UTC
I would bet that this is esd not paying attention to the fact that a client is 
recording, and thus doing its release-sound-device-and-go-idle routine.
Comment 4 Markh 2002-07-31 15:13:53 UTC
Have found if 'Sound for Events' box is checked in sound preferences,
the sound recorder will record normally - without logout.
Comment 5 Balamurali Viswanathan 2002-08-01 04:28:21 UTC
As earlier mentioned, after pkill esd, recording works fine.

In both the cases (that is before and after doing a pkill esd)
the value of sock obtained from  sock = esd_record_stream_fallback
(format, rate, host, name); in /grecord/grec.c is 17.

But the value of length got from 
while ((length = read(sock, buf, ESD_BUF_SIZE)) > 0) 
is 0 before pkill esd and thats the reason why recording stops
immediately
It is 4096 after pkill esd and hence recording works fine.
Comment 6 Iain 2002-08-02 23:23:28 UTC
Reassigning to ESound pending verification....
Comment 7 robert.kinsella 2002-08-12 15:46:09 UTC
Another problem noted while esd is running is that
gnome-sound-recorder will not play any wav files successfully on
Solaris sparc. (Tested nightly build 10th August). The application
appears to play the file but no sound is heard. Appears to be bug
86134 back again.
Comment 8 Balamurali Viswanathan 2002-08-15 07:38:47 UTC

*** This bug has been marked as a duplicate of 90719 ***