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

com.sun.media.sound.ModelByteBufferWavetable#attenuation always zero.

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      DLSInstrument.java - line 420:
      ModelByteBufferWavetable osc = new ModelByteBufferWavetable(buff,
          sample.getFormat(), pitchcorrection);
      osc.setAttenuation(osc.getAttenuation() / 65536f);
      In this line, osc set attenuation from it self value then divide 65536, it should set to sampleopt.attenuation then divide 65536


      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: