BrawlCrate / BrawlCrateIssues

Separate issue tracker repo for bugs submitted from the application, matching BrawlBox's implementation
3 stars 0 forks source link

Tried using a wav too big #249

Open BrawlCrate opened 3 years ago

BrawlCrate commented 3 years ago

I opened a new brtsm stream, and loaded a large, hour and twenty minnute long .wav file.

It imediately crashed.

BrawlCrate Canary #4c862212236a0a60f9647931786de1516a8618b7 x86

Insufficient memory to continue the execution of the program.
   at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
   at BrawlLib.Internal.Audio.PCMStream..ctor(Byte[] wavData)
   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()