Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 412fbe7f authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Revert "Update AudioTrack comments""

parents 72a274de b6ed68cc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@ import android.util.Log;
 * be played from it.<br>
 * For the streaming mode, data will be written to the hardware in chunks of
 * sizes less than or equal to the total buffer size.
 *
 * AudioTrack is not final and thus permits subclasses, but such use is not recommended.
 */
public class AudioTrack
{
@@ -613,9 +611,6 @@ public class AudioTrack

    /**
     *  Returns the native frame count used by the hardware.
     *  @deprecated Only accessible by subclasses, which are not recommended for AudioTrack.
     *  See {@link AudioManager#getProperty(String)} for key
     *  {@link AudioManager#PROPERTY_OUTPUT_FRAMES_PER_BUFFER}.
     */
    protected int getNativeFrameCount() {
        return native_get_native_frame_count();
@@ -885,7 +880,6 @@ public class AudioTrack
     * Sets the initialization state of the instance. To be used in an AudioTrack subclass
     * constructor to set a subclass-specific post-initialization state.
     * @param state the state of the AudioTrack instance
     * @deprecated Only accessible by subclasses, which are not recommended for AudioTrack.
     */
    protected void setState(int state) {
        mState = state;