SharpDX sound crash

Issue #1293 invalid
Former user created an issue

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Invalid RIFF file format at SharpDX.Multimedia.RiffParser.MoveNext() at SharpDX.Multimedia.SoundStream.Initialize(Stream stream) at (SoundEffect , String ) at BigBox.Audio.SoundEffect.Load(String filename) at (SoundManager ) at BigBox.Audio.SoundManager.Initialize() at BigBox.ViewModels.MainViewModel..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings) at (Bootstrapper , Object , StartupEventArgs ) at BigBox.Bootstrapper.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Comments (6)

  1. Jason Carr repo owner

    Hi Anonymous, sorry to hear about this. I don't have your email so I can't contact you. Email me at jason@unbrokensoftware.com and I'll help you out one way or another. I've never seen that error before, but I will see what I can do to fix it.

  2. Jason Carr repo owner

    Hi Anonymous, by chance, did you replace any of the sound files in the LaunchBox Sounds folder?

  3. Craig Stewart-Thomson

    Hi there. I think this was me who reported this. No, This was a brand new install on Windows 10. I bought the license so I can use steam and Nvidia Gamestream. Let me know if you need any more info. For reference, I've tried updating to the Beta, but the issue still exists.

    If you let me know where the sound files are, I can try replacing them.

  4. Craig Stewart-Thomson

    OK - went digging and found the files. Tried to load them in Audacity, and they were all corrupt. I then saved over them with 0.5s of silence, and Big Box now works, so something must have went Pete Tong with the install.

    At a guess, I'd say it was because I was still working out overclocking and voltages, so it's very likely my system was the culprit, and not your installer.

    Sorry to have troubled you - you can close this ticket, if you like.

  5. Log in to comment