< prev index next >
modules/media/src/main/native/jfxmedia/platform/osx/avf/AVFSoundLevelUnit.h
Print this page
rev 9506 : 8156563: JavaFX Ensemble8 media sample hang and crash
Reviewed-by: almatvee, kcr
*** 1,7 ****
/*
! * Copyright (c) 2014, 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
--- 1,7 ----
/*
! * 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
*** 26,35 ****
--- 26,38 ----
#ifndef __JFXMedia__AVFSoundLevelUnit__
#define __JFXMedia__AVFSoundLevelUnit__
#include <AudioUnit/AudioUnit.h>
#include <Accelerate/Accelerate.h>
+
+ #include <memory>
+
#include "AVFKernelProcessor.h"
#include "AUEffectBase.h"
#define kDefaultSoundLevelParam_Volume 1.0f
#define kDefaultSoundLevelParam_Balance 0.0f
*** 94,99 ****
--- 97,104 ----
private:
Float32 mVolume;
Float32 mBalance;
};
+ typedef std::shared_ptr<AVFSoundLevelUnit> AVFSoundLevelUnitPtr;
+
#endif /* defined(__JFXMedia__AVFSoundLevelUnit__) */
< prev index next >