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

Commit 33619ed5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed class and subclass IDs sign extension on byte->int problem."

parents 03f73fe4 558ff9d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ public final class Usb10ACHeader extends UsbACHeaderInterface {
                                            // numbers associate with this endpoint
    private byte mControls;                 // Vers 2.0 thing

    public Usb10ACHeader(int length, byte type, byte subtype, byte subclass, int spec) {
    public Usb10ACHeader(int length, byte type, byte subtype, int subclass, int spec) {
        super(length, type, subtype, subclass, spec);
    }

+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ public final class Usb10ACInputTerminal extends UsbACTerminal {
    private byte mChannelNames;     // 10:1 Unused (0x00)
    private byte mTerminal;         // 11:1 Unused (0x00)

    public Usb10ACInputTerminal(int length, byte type, byte subtype, byte subclass) {
    public Usb10ACInputTerminal(int length, byte type, byte subtype, int subclass) {
        super(length, type, subtype, subclass);
    }

+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ public final class Usb10ACMixerUnit extends UsbACMixerUnit {
    private byte[] mControls;   // bitmasks of which controls are present for each channel
    private byte mNameID;       // string descriptor ID of mixer name

    public Usb10ACMixerUnit(int length, byte type, byte subtype, byte subClass) {
    public Usb10ACMixerUnit(int length, byte type, byte subtype, int subClass) {
        super(length, type, subtype, subClass);
    }

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ public final class Usb10ACOutputTerminal extends UsbACTerminal {
    private byte mSourceID;         // 7:1 From Input Terminal. (0x01)
    private byte mTerminal;         // 8:1 Unused.

    public Usb10ACOutputTerminal(int length, byte type, byte subtype, byte subClass) {
    public Usb10ACOutputTerminal(int length, byte type, byte subtype, int subClass) {
        super(length, type, subtype, subClass);
    }

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ public final class Usb10ASFormatI extends UsbASFormat {
                                    // min & max rates otherwise mSamFreqType rates.
                                    // All 3-byte values. All rates in Hz

    public Usb10ASFormatI(int length, byte type, byte subtype, byte formatType, byte subclass) {
    public Usb10ASFormatI(int length, byte type, byte subtype, byte formatType, int subclass) {
        super(length, type, subtype, formatType, subclass);
    }

Loading