snowkit / linc_sdl

http://snowkit.github.io/linc/ Haxe/hxcpp @:native bindings for SDL
Other
31 stars 17 forks source link

SDL Audio ? #5

Open delahee opened 8 years ago

delahee commented 8 years ago

First, this is a nice binding working out of the box, congrats.

Seems to me there is no reference to SDL_OpenAudio. I need it for the ffmpeg binding. Is it already done somewhere or should I send a pull request ? ( I'll start to write something while waiting for response ) Thanks and see ya!

ruby0x1 commented 8 years ago

I haven't bound them yet, as you found.

A PR would be welcome, I worked backwards from the wiki by copy pasting and then doing them one by one in order of usage so I could test them in the test code.

One important note: I won't add any dependencies on this level - so as long as audio doesn't add other libs then just SDL itself - that's perfect.

delahee commented 8 years ago

Ok I think there is no deps but will keep in mind. May I send PR as test goes or do you prefer a more massive PR we can iterate on ?

Thx Le 3 mars 2016 21:15, "Sven Bergström" notifications@github.com a écrit :

I haven't bound them yet, as you found.

A PR would be welcome, I worked backwards from the wiki https://wiki.libsdl.org/CategoryAudio by copy pasting and then doing them one by one in order of usage so I could test them in the test code.

One important note: I won't add any dependencies on this level - so as long as audio doesn't add other libs then just SDL itself - that's perfect.

— Reply to this email directly or view it on GitHub https://github.com/snowkit/linc_sdl/issues/5#issuecomment-191943798.

ruby0x1 commented 8 years ago

It's ok, it doesn't have to be the whole of the audio API to PR.

If you only need a few functions to get what you need, you can PR those and I'll get around to the rest at some point too.