-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 problem #1376
Comments
what kind of audio hardware do you have? |
Can you be more specific about the informations that you want? |
what device are you using? |
I am making a game for windows. I am working on a windows 7 |
I think we need to know what sound card your machine has, so we can figure On 14 February 2013 19:37, IkkarionCross notifications@github.com wrote:
|
My audio card is a chipset from a computer from Dell. I tried to get the name with everest, but it can not get the name. |
This sounds like a driver failure. Make sure you have the correct drivers for your motherboard. You probably have a RealTek chipset, and openAL likely supports it. The driver probably has some issues. I recommend that you go to Dell, get the bios and driver updates for your computer, then after you reboot and have installed the updates, try to run your game again. Let's hope that works! |
Guys, a friend solve the issue. I am not sure why but when the computer does not have an audio output the project crashes. |
i will fix this. when AL fails to setup the context, we don't handle the nulled-out management lists. we also don't stop sound support either, but that's for another lengthly discussion. |
You should have seen ""Could not open AL device"" written to your debug console. |
Its the driver. When it is deactivated the openAl crashes and my computer does not have an audio output. I now connect an audio output (headset) to my computer and the error disappear. |
Please pull my changes into your build and see if it fixes your problems. You won't get sound, but also won't get the NRE during the game loop. |
@IkkarionCross did you have a chance to pull my change set to your build and test it out? |
#1376 Adding some defensiveness to the OpenAl sound setup
Bug author hasn't commented or been on github in a year. Probably safe to close. @tomspilman |
* types * inline window.ClientBounds
I'm having a issue with OpenAl. When i run my project in the output appears:
Could not open AL device - OpenAL Error: InvalidDevice
This is the stack trace:
System.NullReferenceException: Object reference not set to an instance of an object. ---> System.Exception:
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Audio.OpenALSoundController.Update()
at Microsoft.Xna.Framework.OpenTKGamePlatform.BeforeUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.OpenTKGameWindow.OnUpdateFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.OnUpdateFrame(FrameEventArgs e)
at OpenTK.GameWindow.OnUpdateFrameInternal(FrameEventArgs e)
at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch update_watch, Double& next_update, FrameEventArgs update_args)
at OpenTK.GameWindow.DispatchUpdateAndRenderFrame(Object sender, EventArgs e)
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at OpenTK.GameWindow.Run(Double updateRate)
at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at escaladeWin.Program.Main() in Program.cs:line 21
What i did to try solve the problem?
1 - Uninstall OpenAl
2 - Uninstall MonoGame
3 - Check the references for the project
4 - Search in google. I found this issue #823, but i think this is not my problem.
5 - I searched, here, in git and on codeplex. Again, only the issue 823 on git.
*My project does not contains any kind of music.
Any idea how to solve this?
The text was updated successfully, but these errors were encountered: