|
|
|
@ -112,7 +112,7 @@ public class MusicHandler implements AudioSendHandler, Closeable |
|
|
|
|
return true; |
|
|
|
|
} catch (UnsupportedAudioFileException | IOException ex) |
|
|
|
|
{ |
|
|
|
|
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); |
|
|
|
|
Logger.getLogger(Chords.class.getName()).log(Level.SEVERE, null, ex); |
|
|
|
|
} finally |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
@ -215,7 +215,7 @@ public class MusicHandler implements AudioSendHandler, Closeable |
|
|
|
|
// audioBuffer.add(bytes, 0, read);
|
|
|
|
|
// } catch (IOException ex)
|
|
|
|
|
// {
|
|
|
|
|
// Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
|
|
|
|
|
// Logger.getLogger(Chords.class.getName()).log(Level.SEVERE, null, ex);
|
|
|
|
|
// return false;
|
|
|
|
|
// } catch (ArrayIndexOutOfBoundsException ex)
|
|
|
|
|
// {
|
|
|
|
@ -223,7 +223,7 @@ public class MusicHandler implements AudioSendHandler, Closeable |
|
|
|
|
// arrayErr = true;
|
|
|
|
|
// else
|
|
|
|
|
// {
|
|
|
|
|
// Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
|
|
|
|
|
// Logger.getLogger(Chords.class.getName()).log(Level.SEVERE, null, ex);
|
|
|
|
|
// return false;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|