3
« on: July 19, 2014, 02:49:06 PM »
Trying to use a custom notification sound (its Duke Nukem saying "Hail to the King, baby") and each time I hit play to test it I get a message saying its crashed. Here is the errorlog.txt:
10 Jul 18:10:23,410 - 0.4.4.1: Crashed Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
10 Jul 18:10:23,572 - 0.4.4.1: Crashed at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at ChannelMessages.ChanMsg.btnTimedEnableAll_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
10 Jul 18:10:26,811 - 0.4.4.1: Crashed Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
10 Jul 18:10:26,811 - 0.4.4.1: Crashed at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at ChannelMessages.ChanMsg.btnTimedEnableAll_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
19 Jul 20:10:07,361 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
19 Jul 20:10:07,522 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.Main.PlayNewFollowerSound()
at DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
19 Jul 20:10:11,373 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
19 Jul 20:10:11,373 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.Main.PlayNewFollowerSound()
at DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
20 Jul 01:31:37,820 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
20 Jul 01:31:37,822 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.Main.PlayNewFollowerSound()
at DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
20 Jul 01:33:45,335 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
20 Jul 01:33:45,348 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.OnScreenNotificationManager.PlayNewSound(String sound)
at DeepBot.OnScreenNotificationManager.EnqueueFollowNotification(String followername)
at DeepBot.Main.getFollows_FetchedFollowers(Object arg1, GetFollowEventArgs arg2)
at DeepBot.TwitchAPI.TwitchGetFollows.OnFetchedFollowers(GetFollowEventArgs e)
at DeepBot.TwitchAPI.TwitchGetFollows.getFollowers_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
20 Jul 01:33:47,873 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
20 Jul 01:33:47,873 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.OnScreenNotificationManager.PlayNewSound(String sound)
at DeepBot.OnScreenNotificationManager.EnqueueFollowNotification(String followername)
at DeepBot.Main.getFollows_FetchedFollowers(Object arg1, GetFollowEventArgs arg2)
at DeepBot.TwitchAPI.TwitchGetFollows.OnFetchedFollowers(GetFollowEventArgs e)
at DeepBot.TwitchAPI.TwitchGetFollows.getFollowers_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
20 Jul 01:34:53,213 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
20 Jul 01:34:53,214 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.Main.PlayNewFollowerSound()
at DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
20 Jul 01:35:53,297 - 0.4.4.2: Crashed Sound API only supports playing PCM wave files.
20 Jul 01:35:53,297 - 0.4.4.2: Crashed at System.Media.SoundPlayer.ValidateSoundFile(String fileName)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at System.Media.SoundPlayer.Play()
at DeepBot.Main.PlayNewFollowerSound()
at DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The sound is called "hail.wav" is 4.89KB bit rate of 20kbps and a length of 00:00:01 (I feel like its longer than this in actuality, maybe closer to 3 seconds but not by much). The audio files that come with the bot all work correctly.