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

Crashes when attempting to make a brstm with wav file that has 8 channels #45

Open
mkwiimaster7 opened this issue Apr 25, 2022 · 0 comments

Comments

@mkwiimaster7
Copy link

Im trying to make a brstm with 8 channels, but when i import the wav file used, it instantly crashes. here is the crash log:

Value does not fall within the expected range.
at BrawlLib.Platform.Win32.DirectSound.IDirectSound8.CreateSoundBuffer(DSBufferDesc& pcDSBufferDesc, IDirectSoundBuffer8& ppDSBuffer, IntPtr pUnkOuter)
at BrawlLib.Internal.Audio.wAudioBuffer..ctor(wAudioProvider parent, DSBufferDesc& desc)
at BrawlLib.Internal.Audio.wAudioProvider.CreateBuffer(IAudioStream target)
at BrawlLib.Internal.Windows.Forms.BrstmConverterDialog.LoadAudio(String path)
at BrawlLib.Internal.Windows.Forms.BrstmConverterDialog.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

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

1 participant