Loading api/current.txt +6 −0 Original line number Original line Diff line number Diff line Loading @@ -13641,6 +13641,12 @@ package android.media.audiofx { field public short numBands; field public short numBands; } } public class LoudnessEnhancer extends android.media.audiofx.AudioEffect { method public float getTargetGain() throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.lang.UnsupportedOperationException; method public void setTargetGain(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.lang.UnsupportedOperationException; field public static final int PARAM_TARGET_GAIN_MB = 0; // 0x0 } public class NoiseSuppressor extends android.media.audiofx.AudioEffect { public class NoiseSuppressor extends android.media.audiofx.AudioEffect { method public static android.media.audiofx.NoiseSuppressor create(int); method public static android.media.audiofx.NoiseSuppressor create(int); method public static boolean isAvailable(); method public static boolean isAvailable(); media/java/android/media/audiofx/LoudnessEnhancer.java +1 −12 Original line number Original line Diff line number Diff line Loading @@ -25,8 +25,6 @@ import java.util.StringTokenizer; /** /** * @hide * CANDIDATE FOR PUBLIC API * LoudnessEnhancer is an audio effect for increasing audio loudness. * LoudnessEnhancer is an audio effect for increasing audio loudness. * The processing is parametrized by a target gain value, which determines the maximum amount * The processing is parametrized by a target gain value, which determines the maximum amount * by which an audio signal will be amplified; signals amplified outside of the sample * by which an audio signal will be amplified; signals amplified outside of the sample Loading @@ -45,8 +43,6 @@ public class LoudnessEnhancer extends AudioEffect { // These parameter constants must be synchronized with those in // These parameter constants must be synchronized with those in // /system/media/audio_effects/include/audio_effects/effect_loudnessenhancer.h // /system/media/audio_effects/include/audio_effects/effect_loudnessenhancer.h /** /** * @hide * CANDIDATE FOR PUBLIC API * The maximum gain applied applied to the signal to process. * The maximum gain applied applied to the signal to process. * It is expressed in millibels (100mB = 1dB) where 0mB corresponds to no amplification. * It is expressed in millibels (100mB = 1dB) where 0mB corresponds to no amplification. */ */ Loading @@ -70,7 +66,6 @@ public class LoudnessEnhancer extends AudioEffect { /** /** * @hide * @hide * CANDIDATE FOR PUBLIC API * Class constructor. * Class constructor. * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer * will be attached to the MediaPlayer or AudioTrack in the same audio session. * will be attached to the MediaPlayer or AudioTrack in the same audio session. Loading @@ -92,7 +87,7 @@ public class LoudnessEnhancer extends AudioEffect { /** /** * @hide * @hide * Class constructor. * Class constructor for the LoudnessEnhancer audio effect. * @param priority the priority level requested by the application for controlling the * @param priority the priority level requested by the application for controlling the * LoudnessEnhancer engine. As the same engine can be shared by several applications, * LoudnessEnhancer engine. As the same engine can be shared by several applications, * this parameter indicates how much the requesting application needs control of effect * this parameter indicates how much the requesting application needs control of effect Loading @@ -117,8 +112,6 @@ public class LoudnessEnhancer extends AudioEffect { } } /** /** * @hide * CANDIDATE FOR PUBLIC API * Set the target gain for the audio effect. * Set the target gain for the audio effect. * The target gain is the maximum value by which a sample value will be amplified when the * The target gain is the maximum value by which a sample value will be amplified when the * effect is enabled. * effect is enabled. Loading @@ -133,8 +126,6 @@ public class LoudnessEnhancer extends AudioEffect { } } /** /** * @hide * CANDIDATE FOR PUBLIC API * Return the target gain. * Return the target gain. * @return the effect target gain expressed in mB. * @return the effect target gain expressed in mB. * @throws IllegalStateException * @throws IllegalStateException Loading @@ -155,8 +146,6 @@ public class LoudnessEnhancer extends AudioEffect { */ */ public interface OnParameterChangeListener { public interface OnParameterChangeListener { /** /** * @hide * CANDIDATE FOR PUBLIC API * Method called when a parameter value has changed. The method is called only if the * Method called when a parameter value has changed. The method is called only if the * parameter was changed by another application having the control of the same * parameter was changed by another application having the control of the same * LoudnessEnhancer engine. * LoudnessEnhancer engine. Loading Loading
api/current.txt +6 −0 Original line number Original line Diff line number Diff line Loading @@ -13641,6 +13641,12 @@ package android.media.audiofx { field public short numBands; field public short numBands; } } public class LoudnessEnhancer extends android.media.audiofx.AudioEffect { method public float getTargetGain() throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.lang.UnsupportedOperationException; method public void setTargetGain(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException, java.lang.UnsupportedOperationException; field public static final int PARAM_TARGET_GAIN_MB = 0; // 0x0 } public class NoiseSuppressor extends android.media.audiofx.AudioEffect { public class NoiseSuppressor extends android.media.audiofx.AudioEffect { method public static android.media.audiofx.NoiseSuppressor create(int); method public static android.media.audiofx.NoiseSuppressor create(int); method public static boolean isAvailable(); method public static boolean isAvailable();
media/java/android/media/audiofx/LoudnessEnhancer.java +1 −12 Original line number Original line Diff line number Diff line Loading @@ -25,8 +25,6 @@ import java.util.StringTokenizer; /** /** * @hide * CANDIDATE FOR PUBLIC API * LoudnessEnhancer is an audio effect for increasing audio loudness. * LoudnessEnhancer is an audio effect for increasing audio loudness. * The processing is parametrized by a target gain value, which determines the maximum amount * The processing is parametrized by a target gain value, which determines the maximum amount * by which an audio signal will be amplified; signals amplified outside of the sample * by which an audio signal will be amplified; signals amplified outside of the sample Loading @@ -45,8 +43,6 @@ public class LoudnessEnhancer extends AudioEffect { // These parameter constants must be synchronized with those in // These parameter constants must be synchronized with those in // /system/media/audio_effects/include/audio_effects/effect_loudnessenhancer.h // /system/media/audio_effects/include/audio_effects/effect_loudnessenhancer.h /** /** * @hide * CANDIDATE FOR PUBLIC API * The maximum gain applied applied to the signal to process. * The maximum gain applied applied to the signal to process. * It is expressed in millibels (100mB = 1dB) where 0mB corresponds to no amplification. * It is expressed in millibels (100mB = 1dB) where 0mB corresponds to no amplification. */ */ Loading @@ -70,7 +66,6 @@ public class LoudnessEnhancer extends AudioEffect { /** /** * @hide * @hide * CANDIDATE FOR PUBLIC API * Class constructor. * Class constructor. * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer * will be attached to the MediaPlayer or AudioTrack in the same audio session. * will be attached to the MediaPlayer or AudioTrack in the same audio session. Loading @@ -92,7 +87,7 @@ public class LoudnessEnhancer extends AudioEffect { /** /** * @hide * @hide * Class constructor. * Class constructor for the LoudnessEnhancer audio effect. * @param priority the priority level requested by the application for controlling the * @param priority the priority level requested by the application for controlling the * LoudnessEnhancer engine. As the same engine can be shared by several applications, * LoudnessEnhancer engine. As the same engine can be shared by several applications, * this parameter indicates how much the requesting application needs control of effect * this parameter indicates how much the requesting application needs control of effect Loading @@ -117,8 +112,6 @@ public class LoudnessEnhancer extends AudioEffect { } } /** /** * @hide * CANDIDATE FOR PUBLIC API * Set the target gain for the audio effect. * Set the target gain for the audio effect. * The target gain is the maximum value by which a sample value will be amplified when the * The target gain is the maximum value by which a sample value will be amplified when the * effect is enabled. * effect is enabled. Loading @@ -133,8 +126,6 @@ public class LoudnessEnhancer extends AudioEffect { } } /** /** * @hide * CANDIDATE FOR PUBLIC API * Return the target gain. * Return the target gain. * @return the effect target gain expressed in mB. * @return the effect target gain expressed in mB. * @throws IllegalStateException * @throws IllegalStateException Loading @@ -155,8 +146,6 @@ public class LoudnessEnhancer extends AudioEffect { */ */ public interface OnParameterChangeListener { public interface OnParameterChangeListener { /** /** * @hide * CANDIDATE FOR PUBLIC API * Method called when a parameter value has changed. The method is called only if the * Method called when a parameter value has changed. The method is called only if the * parameter was changed by another application having the control of the same * parameter was changed by another application having the control of the same * LoudnessEnhancer engine. * LoudnessEnhancer engine. Loading