< prev index next >

modules/javafx.media/src/main/native/jfxmedia/platform/osx/avf/AVFAudioProcessor.mm

Print this page
*** 277,6 ***
--- 277,10 ---
          if (!context->audioSLU.get()->ProcessBufferLists(*bufferListInOut, numberFrames)) {
              NSLog(@"audioSLU ProcessBufferLists() failed");
              return;
          }
      }
+ 
+     if (context->audioSpectrum != nullptr) {
+         context->audioSpectrum.get()->SetFirstBufferDelivered(true);
+     }
  }
< prev index next >