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