Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336920

ArithmeticException in javax.sound.sampled.AudioInputStream

XMLWordPrintable

    • b06
    • generic
    • generic

      java.desktop/com.sun.media.sound.SoftLinearResampler2.interpolate throws the following exception:

      java.lang.ArithmeticException: / by zero
      at java.desktop/com.sun.media.sound.SoftLinearResampler2.interpolate(SoftLinearResampler2.java:73)
      at java.desktop/com.sun.media.sound.SoftAbstractResampler$ModelAbstractResamplerStream.read(SoftAbstractResampler.java:367)
      at java.desktop/com.sun.media.sound.SoftVoice.processAudioLogic(SoftVoice.java:832)
      at java.desktop/com.sun.media.sound.SoftMainMixer.processAudioBuffers(SoftMainMixer.java:722)
      at java.desktop/com.sun.media.sound.SoftMainMixer$2.fillBuffer(SoftMainMixer.java:948)
      at java.desktop/com.sun.media.sound.SoftMainMixer$2.read(SoftMainMixer.java:962)
      at java.desktop/javax.sound.sampled.AudioInputStream.read(AudioInputStream.java:284)
      at java.desktop/javax.sound.sampled.AudioInputStream.read(AudioInputStream.java:284)
      at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1093)

      See comments for more information.

            kizune Alexander Zuev
            mowerfel Marc Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: