openfl / lime

A foundational Haxe framework for cross-platform development
https://lime.openfl.org/
MIT License
749 stars 359 forks source link

[ENHANCEMENT] Audio recording support #1797

Open ACrazyTown opened 4 weeks ago

ACrazyTown commented 4 weeks ago

Having support for audio recording would be really useful for something like voice chat in games.

For native targets, I think both SDL and OpenAL have support for audio recording, its just a matter of writing bindings and adding them thru CFFI. I've actually tried to add bindings for OpenAL audio capturing but I got stuck trying to figure out how to send the data fromalcCaptureSamples() from C++ to Haxe.

I haven't looked into HTML5 stuff but I'm pretty sure its a bit more straightforward compared to native

moha0100110 commented 3 weeks ago

i support this too, i want too :)