CocosBuilder icon indicating copy to clipboard operation
CocosBuilder copied to clipboard

Feature Request: Timeline ‘Stop’ Button ends Sound Effect

Open oxeron opened this issue 8 years ago • 1 comments

Found in SB forum: http://forum.spritebuilder.com/t/feature-request-timeline-stop-button-ends-sound-effect/256

"Can the 'stop' button on the timeline also stop any currently running Sound Effects?"

oxeron avatar Mar 08 '16 19:03 oxeron

The fix above just stops all OpenAl sounds To resume playing sounds at timeline position, we need a new sound library:

  • OpenAl only allow to seek background music for one file. If you use two sound files at the same time, it doesn't work
  • AVPlayer does not have pitch/pan/gain support

oxeron avatar Mar 08 '16 20:03 oxeron