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

Commit 8dad472e authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

AudioFormatDescription: remove docs about encapsulation

Initially there was an idea to use MIME-compatible '+'
syntax for specifying both the encapsulated format and the
format of encapsulation, e.g. 'audio/x-iec61937+audio/ac3'.
However, it seems to create too many caveats when
comparing type values and converting to/from legacy and SDK
types. Thus, it's better to store the encapsulation
information in a separate type 'AudioEncapsulationType'.

Bug: 198000804
Test: m
Change-Id: Ieb50ce6b895e54df7d38e865bc9ae1f14a17789e
parent 461c1a11
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -73,14 +73,6 @@ parcelable AudioFormatDescription {
     *   - Otherwise, "x-" prefix is added, e.g. "audio/x-iec61937".
     *   - All MIME types not found in the IANA formats list have an associated
     *     comment.
     *
     * For PCM encapsulations with a known bitstream format, the latter
     * is added to the encapsulation encoding as a suffix, after a "+" char.
     * For example, an IEC61937 encapsulation of AC3 has the following
     * representation:
     *   type = NON_PCM,
     *   pcm = PcmType.INT_16_BIT,
     *   encoding = "audio/x-iec61937+audio/ac3"
     */
    @utf8InCpp String encoding;
}