Ticket #1613 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

sound brick only sounds once inside a template

Reported by: tomeu Owned by: walter
Priority: High Milestone: Unspecified by Release Team
Component: Turtleart Version: Unspecified
Severity: Minor Keywords: ceibal
Cc: mfuzatti@…, esteban.arias.xo@…, tonyforster Distribution/OS: OLPC
Bug Status: New

Description

will attach example

Attachments

tmpy9N4aI.gtar Download (10.0 KB) - added by tomeu 3 years ago.
TurtleArt-104.xo Download (1.0 MB) - added by walter 2 years ago.
doesn't seem to crash... but it sensor mode doesn't always initialize properly

Change History

Changed 3 years ago by tomeu

Changed 3 years ago by walter

  • status changed from new to assigned
  • status_field changed from Unconfirmed to New

It must be related to gstreamer initializations. If I play a movie in the first block in the example, then the sound plays every time. Investigating.

Changed 3 years ago by walter

I pushed a patch to create a new gplay object each time instead of trying to reuse the existing object. Seems to work, but I would appreciate some testing before I commit.

Changed 3 years ago by tomeu

  • cc mfuzatti@… added

Changed 3 years ago by tomeu

Will give it a try on monday, when I get my hands on a machine with Sugar 0.82.

Changed 3 years ago by tomeu

  • cc esteban.arias.xo@… added

Esteban, any news on this?

Changed 3 years ago by walter

I'll test TA-83 which included some cleaned up gplay code. Perhaps the problem will have gone away, although I still don't know what is the root cause.

Changed 3 years ago by walter

  • priority changed from Unspecified by Maintainer to High

Changed 2 years ago by walter

Did a refactoring based on Jukebox code. Seems to have fixed the problem. Please test attached v104.

Changed 2 years ago by tonyforster

  • cc tonyforster added

Changed 2 years ago by tonyforster

This version is crashing on sensors 9 in 10 times. It is also sometimes showing 'failed to start' but starting anyway. (os373pyg)

Changed 2 years ago by walter

I am not sure what is going on... very inconsistent results with gst. Not sure how I broke things. I think it is a problem with garbage collection, actually. GDB tells me nothing helpful either :(

Changed 2 years ago by walter

doesn't seem to crash... but it sensor mode doesn't always initialize properly

Changed 2 years ago by walter

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.