package com.foxx.androidcast.media.codec;

/*********************************************************************
 * AudioCodecBackend.java
 * Created at: Sun 17 May 2026 22:49:49 +0200
 * Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
 * Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
 * enum AudioCodecBackend
 * Contributors:
 *    - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 23 lines)
 *    - Cursor Agent (project assistant)
 * Digest: SHA256	8c4ce51346625ce93a91fa92bf55d5af6261fd1f054154c295f1e6be257cc18f
**********************************************************************/
/** Implementation backing negotiated / configured audio. */
public enum AudioCodecBackend {
    MEDIA_CODEC_AAC("MediaCodec AAC-LC"),
    SPEEX_NATIVE("Speex native"),
    OPUS_NATIVE("Opus native"),
    SPEEX_STUB("Speex (stub → AAC passthrough)"),
    OPUS_STUB("Opus (stub → AAC passthrough)"),
    PASSTHROUGH_DEBUG("Passthrough AAC (debug)"),
    DISABLED("off"),
    UNKNOWN("?");

    public final String label;

    AudioCodecBackend(String label) {
        this.label = label;
    }
}
