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

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

Merge "Explain ENCODING_PCM_FLOAT"

parents 978db409 a217f8f9
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -221,8 +221,9 @@ public final class AudioDeviceInfo {
     * @return An array of audio encodings (e.g. {@link AudioFormat#ENCODING_PCM_16BIT},
     * @return An array of audio encodings (e.g. {@link AudioFormat#ENCODING_PCM_16BIT},
     * {@link AudioFormat#ENCODING_PCM_FLOAT}) supported by the audio device.
     * {@link AudioFormat#ENCODING_PCM_FLOAT}) supported by the audio device.
     * <code>ENCODING_PCM_FLOAT</code> indicates the device supports more
     * <code>ENCODING_PCM_FLOAT</code> indicates the device supports more
     * than 16 bits of integer precision.  Specifying <code>ENCODING_PCM_FLOAT</code>
     * than 16 bits of integer precision.  As there is no AudioFormat constant
     * with {@link AudioTrack} or {@link AudioRecord} can preserve at least 24 bits of
     * specifically defined for 24-bit PCM, the value <code>ENCODING_PCM_FLOAT</code>
     * indicates that {@link AudioTrack} or {@link AudioRecord} can preserve at least 24 bits of
     * integer precision to that device.
     * integer precision to that device.
     *
     *
     * @see AudioFormat
     * @see AudioFormat