Possible fix for handling broken songs
This commit is contained in:
@@ -122,6 +122,7 @@ namespace MusicPlayer
|
||||
catch(Exception e)
|
||||
{
|
||||
AState = AudioState.STOPPED;
|
||||
main.form.SongFinished();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -207,6 +208,7 @@ namespace MusicPlayer
|
||||
{
|
||||
BState = BufferState.EMPTY;
|
||||
AState = AudioState.STOPPED;
|
||||
main.form.SongFinished();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user