112 return sample_rate == other.sample_rate && channels == other.channels &&
113 bits_per_sample == other.bits_per_sample &&
115 enable_ep_in == other.enable_ep_in &&
116 enable_ep_out == other.enable_ep_out &&
118 ep_in == other.ep_in && ep_out == other.ep_out &&
119 ep_fb == other.ep_fb &&
121 itf_num_ac == other.itf_num_ac &&
122 fifo_packets == other.fifo_packets &&
124 vid == other.vid && pid == other.pid &&
126 std::strcmp(manufacturer ? manufacturer :
"",
127 other.manufacturer ? other.manufacturer :
"") == 0 &&
129 std::strcmp(product ? product :
"",
130 other.product ? other.product :
"") == 0 &&
132 std::strcmp(serial ? serial :
"",
133 other.serial ? other.serial :
"") == 0 &&
135 self_powered == other.self_powered &&
136 max_power_ma == other.max_power_ma &&
138 enable_feedback_ep == other.enable_feedback_ep &&
139 enable_ep_in_flow_control == other.enable_ep_in_flow_control &&
140 use_linear_buffer_rx == other.use_linear_buffer_rx &&
141 use_linear_buffer_tx == other.use_linear_buffer_tx &&
143 begin_usb == other.begin_usb && terminal_id == other.terminal_id;