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 Error: 40964' on Ubuntu 18.04 #1

Closed
jmacato opened this issue Oct 23, 2018 · 7 comments
Closed

'OpenAL Error: 40964' on Ubuntu 18.04 #1

jmacato opened this issue Oct 23, 2018 · 7 comments

Comments

@jmacato
Copy link
Collaborator

jmacato commented Oct 23, 2018

Seems like it's failing when it's trying to get an audio device/sink @ AlNative.alcOpenDevice(null).on ALEngine.cs

@feliwir
Copy link
Owner

feliwir commented Oct 23, 2018

This library is still somewhat WIP. Can you show your code? I didn't test on anything but Windows yet. Do you have libopenal installed?

@jmacato
Copy link
Collaborator Author

jmacato commented Oct 24, 2018

I've just ran the SharpAudio.Sample package out-of-the-box. I havent checked but i do think i have it installed since the dll checks would fail otherwise

@feliwir
Copy link
Owner

feliwir commented Oct 26, 2018

Sorry for the delay. I'll check this on my own Ubuntu machine and then check for the source of the problem.

@feliwir
Copy link
Owner

feliwir commented Oct 26, 2018

So i fixed the problem. The issue was that alGetError always throws an error on Ubuntu for some reason and i was always crashing the application in that case. I tested on on Ubuntu 18.04 and i can't spot any issues on Ubuntu 18.04 anymore. Please let me know if it works for you aswell!

@jmacato
Copy link
Collaborator Author

jmacato commented Oct 26, 2018

Thanks, there doesnt seem to be any OpenAL errors! although it fails to play some wav file that i give it to :(

@jmacato jmacato closed this as completed Oct 26, 2018
@feliwir
Copy link
Owner

feliwir commented Oct 26, 2018

Hm, i only checked with the 2 files that are in the repository so far. (SharpAudio.Tests/Assets). The issue with wav files is that they support 20 different kind of compressions and i only support uncompressed (PCM) and ADPCM so far. Are you getting any errors?

@feliwir
Copy link
Owner

feliwir commented Oct 26, 2018

I created a new issue, let's take the discussion there

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

No branches or pull requests

2 participants