OpenAL - was any sound capture functionality exposed in the new sound API ?

Just wondering if there’s been any ability to capture sound using the new OpenAL based API ?

Would be lovely to get at a capture buffer, instead of dumping it straight to a file, like the old way.
[import]uid: 97524 topic_id: 26735 reply_id: 326735[/import]

I don’t think I wrote the bindings for those. Look for luaal (open source). If you would like to contribute, I can see about incorporating the patch some time in the future.

Be aware that iOS has a capture bug where a OpenAL context for playback must be present and active for capture to work (contrary to the spec) and the Android port of OpenAL Soft didn’t implement/finish capture support. (Patches are welcome on the latter, send bug reports to Apple on the former.)

[import]uid: 7563 topic_id: 26735 reply_id: 108537[/import]

Hi Ewing.

No, it’s not something I’d be interested in at the moment.

I have an app that requires audio facilities that appear to be beyond those currently offered by Corona:

a) capture audio to a buffer
b) perform analysis / modification on the data
c) show results almost instantly

I believe Corona’s old sound system is the only one to offer sound capture, and it saves it off into a file so is no good in this instance. This is such as shame, as I find Corona a fantastically quick tool to get code up and running, in the short time I’ve used it.

[import]uid: 97524 topic_id: 26735 reply_id: 108629[/import]