Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Feature Request] Sound: Add native support for WAV and/or OGG file formats

Open Adolio opened this issue 5 years ago • 4 comments

Problem Description

Right now in Adobe AIR, the only natively supported sounds file format is MP3.

As you know, MP3 file format is not suitable for seamless looping sounds since the it includes gaps at the track extremities (due to design limitation).

Native support of WAV file format would finally solve the sound looping issue. Plus, with OGG file format we could benefit from the compression aspect for lighter binaries.

Known Workaround

To overcome this limitation, I have implemented a library which supports a limited implementation of the WAV file format by using the flash.media.Sound data sampling API: https://github.com/Adolio/Syrinx-Sound-Manager

However, my implementation comes with a significant performance cost due to the custom sampling operations.


Thanks in advance to consider this feature request in your roadmap.

Best, Aurélien

Adolio avatar Jul 22 '20 13:07 Adolio

Nice project! We'd been looking at reworking media in a fairly large way, which would then make it a lot easier for us (or anyone) to bolt on support for different formats.. will definitely consider WAV though, I think I'd come across this limitation myself many years ago...

thanks

ajwfrost avatar Jul 22 '20 14:07 ajwfrost

Thanks @ajwfrost!

Looking forward to see what will come out of this media rework 😃

Adolio avatar Jul 22 '20 14:07 Adolio

Hello @ajwfrost,

Do you have any news regarding the media rework?

It's been two years already... 😬

Adolio avatar Jul 25 '22 11:07 Adolio

Wow... time has really flown by :-(

We're about to push out a beta of our new "AIR 50" version which has some new APIs, but the media part of this is still very much 'work in progress'. I think we had approached this with a view to providing a very powerful set of APIs, relatively low level, and whilst this could be useful for some people (and is still on the plan), more recently we've been looking at a simplified, higher-level API that can just be used for e.g. playing a sound effect or music file, which are the more common use cases...

So we will refocus on this shortly; the initial urgency for the multimedia side of things had decreased a little after we'd fixed some of the problems with the existing codebase, but I'm aware that we need to start getting this area sorted out...! Thanks for your patience!

ajwfrost avatar Jul 27 '22 06:07 ajwfrost