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

faster AudioSpectrumInterval as default didnt work corectly

XMLWordPrintable

      if i set AudioSpectrumInterval to faster value as default (0.1) for example to 0.02 function spectrumDataUpdate returns same values

      step to reproduce:
      load any chart demo witch using spectrumDataUpdate (audio visualization) and set AudioSpectrumInterval to 0.02 and print values of magnitudes each update of spectrum data

      result: for magnitudes[0] + 60.0

      25.30990982055664
      25.30990982055664
      25.30990982055664
      16.35150146484375
      16.35150146484375
      16.35150146484375
      13.008472442626953
      27.34347915649414
      27.34347915649414
      0.0
      0.0
      29.151962280273438
      23.044506072998047
      31.829599380493164
      31.829599380493164
      31.829599380493164

      spectrumDataUpdate returns same magnitudes values

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: