package com.mstar.android.tvapi.common.vo;

import android.os.Parcel;
import android.os.Parcelable;

/* JADX INFO: loaded from: classes.dex */
public class SoundModeSetting implements Parcelable {
    public static final Parcelable.Creator<SoundModeSetting> CREATOR = new Parcelable.Creator<SoundModeSetting>() { // from class: com.mstar.android.tvapi.common.vo.SoundModeSetting.1
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public SoundModeSetting createFromParcel(Parcel parcel) {
            return new SoundModeSetting(parcel);
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public SoundModeSetting[] newArray(int i2) {
            return new SoundModeSetting[i2];
        }
    };
    public short balance;
    public short bass;
    public EnumAudioMode enSoundAudioChannel;
    public short eqBand1;
    public short eqBand2;
    public short eqBand3;
    public short eqBand4;
    public short eqBand5;
    public short eqBand6;
    public short eqBand7;
    public short treble;
    public boolean userMode;

    public SoundModeSetting() {
        this.bass = (short) 0;
        this.treble = (short) 0;
        this.eqBand1 = (short) 0;
        this.eqBand2 = (short) 0;
        this.eqBand3 = (short) 0;
        this.eqBand4 = (short) 0;
        this.eqBand5 = (short) 0;
        this.eqBand6 = (short) 0;
        this.eqBand7 = (short) 0;
        this.userMode = false;
        this.balance = (short) 0;
        this.enSoundAudioChannel = EnumAudioMode.E_LL;
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeInt(this.bass);
        parcel.writeInt(this.treble);
        parcel.writeInt(this.eqBand1);
        parcel.writeInt(this.eqBand2);
        parcel.writeInt(this.eqBand3);
        parcel.writeInt(this.eqBand4);
        parcel.writeInt(this.eqBand5);
        parcel.writeInt(this.eqBand6);
        parcel.writeInt(this.eqBand7);
        parcel.writeInt(this.userMode ? 1 : 0);
        parcel.writeInt(this.balance);
        parcel.writeInt(this.enSoundAudioChannel.ordinal());
    }

    public SoundModeSetting(Parcel parcel) {
        this.bass = (short) parcel.readInt();
        this.treble = (short) parcel.readInt();
        this.eqBand1 = (short) parcel.readInt();
        this.eqBand2 = (short) parcel.readInt();
        this.eqBand3 = (short) parcel.readInt();
        this.eqBand4 = (short) parcel.readInt();
        this.eqBand5 = (short) parcel.readInt();
        this.eqBand6 = (short) parcel.readInt();
        this.eqBand7 = (short) parcel.readInt();
        this.userMode = parcel.readInt() == 1;
        this.balance = (short) parcel.readInt();
        this.enSoundAudioChannel = EnumAudioMode.values()[parcel.readInt()];
    }
}
