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

Commit caea5a68 authored by Glenn Kasten's avatar Glenn Kasten Committed by android-build-merger
Browse files

Define low latency output stream (formerly primary)

am: 2ed8f215

Change-Id: Iaa5978b477d925fe2bacfd31f206dd3380a42f68
parents f420c7cb 2ed8f215
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -3289,7 +3289,10 @@ public class AudioManager {

    /**
     * Used as a key for {@link #getProperty} to request the native or optimal output sample rate
     * for this device's primary output stream, in decimal Hz.
     * for this device's low latency output stream, in decimal Hz.  Latency-sensitive apps
     * should use this value as a default, and offer the user the option to override it.
     * The low latency output stream is typically either the device's primary output stream,
     * or another output stream with smaller buffers.
     */
    // FIXME Deprecate
    public static final String PROPERTY_OUTPUT_SAMPLE_RATE =
@@ -3297,7 +3300,10 @@ public class AudioManager {

    /**
     * Used as a key for {@link #getProperty} to request the native or optimal output buffer size
     * for this device's primary output stream, in decimal PCM frames.
     * for this device's low latency output stream, in decimal PCM frames.  Latency-sensitive apps
     * should use this value as a minimum, and offer the user the option to override it.
     * The low latency output stream is typically either the device's primary output stream,
     * or another output stream with smaller buffers.
     */
    // FIXME Deprecate
    public static final String PROPERTY_OUTPUT_FRAMES_PER_BUFFER =