GNOME Bugzilla – Bug 679003
A "Resource not found" error happens when playing files after a save
Last modified: 2015-01-19 11:34:07 UTC
This issue can be reproduced both in standard Ubuntu 11.10 and Ubuntu 12.04. How to reproduce: 1. First open Sound Recorder (gnome-sound-recorder), press "Record" button to record for seconds. 2. Press "Stop" button to stop record 3. Press "Play" button to play the sound, it is OK by now. 4. Now press "Record" again, it will prompt you to save the previous record, just save it. 5. After saving the last record, it will start to record. Seconds later, press "Stop" button to stop record. 6. Press "Play" button Expect result: It will play the record Actual result: It showed an error dialog with "Resource not found" (In Chinese: 资源未找到) The problem is that in bug 595867, a state variable was not reinitialized properly.
Created attachment 217461 [details] [review] v1
Review of attachment 217461 [details] [review]: ack
The patch resolves the error indeed, I'm not sure it's 100% correct though, the behaviour is a bit confusing, if you: - start a record - stop it - save it - start a second record - stop it - press "play" it will play the first record and not the one you just did ... is that wanted? if you save the buffer on disk it will play it correctly. Ideally we would want to play whatever is in the buffer no?
Created attachment 219656 [details] [review] patch to fix comment 3 Hello, This patch fixes comment #3. Let me know if you would like them combined, I can certainly do that as well.
gnome-media has been obsolete since the release of GNOME 3, nearly 4 years ago. Furthermore, the gnome-sound-recorder program in gnome-media has been replaced by the stand-alone, rewritten, gnome-sound-recorder program which has a different interface. The new program should not be affected by the bugs you filed, however, please make sure to file new bugs against the gnome-sound-recorder product.