< prev index next >

modules/media/src/main/native/jfxmedia/platform/osx/avf/AVFAudioEqualizer.h

Print this page
rev 9506 : 8156563: JavaFX Ensemble8 media sample hang and crash
Reviewed-by: almatvee, kcr

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -25,11 +25,14 @@
 
 #ifndef __JFXMedia__AVFAudioEqualizer__
 #define __JFXMedia__AVFAudioEqualizer__
 
 #include <PipelineManagement/AudioEqualizer.h>
+
 #include <map>
+#include <memory>
+
 #include "AVFKernelProcessor.h"
 #include "CAAutoDisposer.h"
 
 class AVFAudioEqualizer;
 

@@ -160,6 +163,8 @@
 
     // Call this after adding, removing or reordering bands
     void ResetBandParameters();
 };
 
+typedef std::shared_ptr<AVFAudioEqualizer> AVFAudioEqualizerPtr;
+
 #endif /* defined(__JFXMedia__AVFAudioEqualizer__) */
< prev index next >