Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SharpDX and XACT Audio crash after update xap
at SharpDX.Result.CheckError()
at SharpDX.XAudio2.XAudio2.CreateSourceVoice_(SourceVoice sourceVoiceOut, IntPtr sourceFormatRef, VoiceFlags flags, Single maxFrequencyRatio, IntPtr callbackRef, Nullable`1 sendListRef, Nullable`1 effectChainRef)
at SharpDX.XAudio2.SourceVoice.CreateSourceVoice(XAudio2 device, WaveFormat sourceFormat, VoiceFlags flags, Single maxFrequencyRatio, IntPtr callback, EffectDescriptor[] effectDescriptors)
at Microsoft.Xna.Framework.Audio.SoundEffect.PlatformSetupInstance(SoundEffectInstance inst)
at Microsoft.Xna.Framework.Audio.SoundEffect.GetPooledInstance(Boolean forXAct)
at Microsoft.Xna.Framework.Audio.WaveBank.GetSoundEffectInstance(Int32 trackIndex, Boolean& streaming)
at Microsoft.Xna.Framework.Audio.SoundBank.GetSoundEffectInstance(Int32 waveBankIndex, Int32 trackIndex, Boolean& streaming)
at Microsoft.Xna.Framework.Audio.XactSound.Play(Single volume, AudioEngine engine)
at Microsoft.Xna.Framework.Audio.Cue.Play()
at Microsoft.Xna.Framework.Audio.SoundBank.PlayCue(String name)
at SolidOps.AudioManager.PlayCue(String cueName) in C:\Users\Alexa\source\repos\SolidOps\SolidOps.Shared\AudioManager.cs:line 85
at SolidOps.MenuScreen.HandleInput(InputState input) in C:\Users\Alexa\source\repos\SolidOps\SolidOps.Shared\Screens\MenuScreen.cs:line 159
at SolidOps.ScreenManager.Update(GameTime gameTime) in C:\Users\Alexa\source\repos\SolidOps\SolidOps.Shared\ScreenManager\ScreenManager.cs:line 191
at Microsoft.Xna.Framework.Game.SortingFilteringCollection`1.ForEachFilteredItem[TUserData](Action`2 action, TUserData userData)
at SolidOps.SolidOpsGame.Update(GameTime gameTime) in C:\Users\Alexa\source\repos\SolidOps\SolidOps.Shared\Game.cs:line 103
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.UAPGamePlatform.<>c.<StartRunLoop>b__11_0(IAsyncAction action)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment