Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openal-ooc pull request #1

Merged
merged 2 commits into from May 25, 2011
Merged

openal-ooc pull request #1

merged 2 commits into from May 25, 2011

Conversation

copygirl
Copy link
Contributor

This is my first fork and pull request, so I hope I did everything correctly.

Added a few more functions, by hand, from the documentation. Didn't quite know what to do with ALC and extensions, so I just left them out for now. I removed types so I don't have to type as as much. I think this is not supposed to be that way, but I'm too afraid of opening an issue atm:

if (state& as Int == AL_STOPPED as Int)

If there's something (or all of it) wrong, let me know.

@nddrylliog
Copy link
Collaborator

Well this, looks good, but I'm wondering why you needed to remove the types.

In theory, covers from "a numeric type" should have worked as well. Especially, if state is an ALint* and AL_STOPPED is an ALint

@copygirl
Copy link
Contributor Author

I only know that I had to change that above line from crowbarcentral-vorbis-openal to make it work with the current version of rock. Otherwise I'd get the error Invalid comparison between operands of type ALint and ALint.

It's not a big thing to add the types back, but I don't see why we need them.

@nddrylliog
Copy link
Collaborator

Okay, well that was definitely a rock bug and I'd like to see it fixed, but until then I'll merge that. Thanks!

nddrylliog pushed a commit that referenced this pull request May 25, 2011
openal-ooc pull request
@nddrylliog nddrylliog merged commit 4e01f2b into fasterthanlime:master May 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants