Loading core/java/android/hardware/soundtrigger/SoundTrigger.java +17 −10 Original line number Diff line number Diff line Loading @@ -689,12 +689,19 @@ public class SoundTrigger { return false; if (triggerInData != other.triggerInData) return false; if (captureFormat == null) { if (other.captureFormat != null) return false; } else { if (other.captureFormat == null) return false; if (captureFormat.getSampleRate() != other.captureFormat.getSampleRate()) return false; if (captureFormat.getEncoding() != other.captureFormat.getEncoding()) return false; if (captureFormat.getChannelMask() != other.captureFormat.getChannelMask()) return false; } return true; } Loading Loading
core/java/android/hardware/soundtrigger/SoundTrigger.java +17 −10 Original line number Diff line number Diff line Loading @@ -689,12 +689,19 @@ public class SoundTrigger { return false; if (triggerInData != other.triggerInData) return false; if (captureFormat == null) { if (other.captureFormat != null) return false; } else { if (other.captureFormat == null) return false; if (captureFormat.getSampleRate() != other.captureFormat.getSampleRate()) return false; if (captureFormat.getEncoding() != other.captureFormat.getEncoding()) return false; if (captureFormat.getChannelMask() != other.captureFormat.getChannelMask()) return false; } return true; } Loading