#7199 NORM Never A: Record does not release sound device

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 5 01:29:23 EDT 2008


#7199: Record does not release sound device
-----------------------------+----------------------------------------------
 Reporter:  mchua            |       Owner:  erikb         
     Type:  defect           |      Status:  new           
 Priority:  normal           |   Milestone:  Never Assigned
Component:  camera-activity  |     Version:  Update.1      
 Keywords:                   |    Verified:  0             
 Blocking:                   |   Blockedby:                
-----------------------------+----------------------------------------------
 Record continues to use the speakers while it is not in focus, even after
 it has finished playing a recording. This prevents other Activities from
 using the speakers (until the Record activity has been focused upon with
 the sound output stopped).

 To reproduce:

  1. Open Record.
  1. Record a fairly long stream of sound (~1 minute - enough to allow you
 to do several actions while it's playing).
  1. Play the sound you've just recorded.
  1. While the sound is playing, do things that remove the focus from the
 Record program, and notice that your sound continues to play in the
 background. For example, go back into Home view, start some other
 Activities... heck, start some musical Activities... you can even open up
 another Record session and record another sound file while the first sound
 file you recorded is still playing.
  1. Also note that even after the recording has finished playing, you will
 not be able to get any other Activity to make a sound until you bring back
 the focus to the original Record instance again, then back to the other
 Activity you are trying to play sound from. (Example: While Record is
 playing, open !TamTamJam and try to play music; you shouldn't be able to.
 While still keeping the focus on !TamTamJam, wait for the recording to
 stop, then try to play music again. You shouldn't be able to. Now put the
 focus back on Record, then back into !TamTamJam. You should now be able to
 play music.)

 Contrast this to the behavior of other audio-producing programs (for
 instance, open TamTamJam and start a loop playing by hitting the '0' key).
 When they aren't the focused activity, they cease audio output. (In other
 words, while the !TamTamJam loop is playing, hit the 'Home' key to go to
 Home view, and notice that the music stops - and resumes when you zoom
 back into the program.)

 Is this intended behavior? I note that other tickets report similar
 behavior in other Activities as a bug, e.g. #6308 (Browse) and #5111
 (Memorize).

 This could be a problem when children are trying to (for example)
 transcribe audio from Record into other programs, say !TamTamEdit, and
 hear whether the output from the second program matches what they're
 trying to create.

 Tested on build 703, Record version 54.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7199>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list