Lines Matching refs:left
1144 HearingDevice* left = nullptr; in OnAudioDataReady() local
1150 left = &device; in OnAudioDataReady()
1155 if (left == nullptr && right == nullptr) { in OnAudioDataReady()
1164 if (left == nullptr || right == nullptr) { in OnAudioDataReady()
1168 int16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1173 uint16_t mono_data = (int16_t)(((uint32_t)left + (uint32_t)right) >> 1); in OnAudioDataReady()
1181 uint16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1182 chan_left.push_back(left); in OnAudioDataReady()
1198 if (left) { in OnAudioDataReady()
1207 uint16_t cid = GAP_ConnGetL2CAPCid(left->gap_handle); in OnAudioDataReady()
1210 VLOG(2) << left->address << " skipping " << packets_to_flush in OnAudioDataReady()
1212 left->audio_stats.packet_flush_count += packets_to_flush; in OnAudioDataReady()
1213 left->audio_stats.frame_flush_count++; in OnAudioDataReady()
1218 check_and_do_rssi_read(left); in OnAudioDataReady()
1252 if (left) { in OnAudioDataReady()
1253 left->audio_stats.packet_send_count++; in OnAudioDataReady()
1254 SendAudio(encoded_data_left.data() + i, packet_size, left); in OnAudioDataReady()
1262 if (left) left->audio_stats.frame_send_count++; in OnAudioDataReady()