Skip to content

Instantly share code, notes, and snippets.

@CartBlanche
Created December 1, 2021 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CartBlanche/93e3feede1147704437ba2ab0dd68c44 to your computer and use it in GitHub Desktop.
Save CartBlanche/93e3feede1147704437ba2ab0dd68c44 to your computer and use it in GitHub Desktop.
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