[OnePlus 3 Themes, Apps, and Mods] igorkatson:
Hi, thanks for you great work,

EDIT: since I flashed Oxygen OS 3.2.1 not through the OTA, but manually by downloading it from oneplus website, the hangouts issue is gone in OxygenOS, so no audio bugs in OxygenOS. Both audio issues are still present on any CM13 ROM that I tried: the resurrection one and the "unofficial CM13".

I got 2 issues, and sounds like changing the .xml files might help:

1. Posted the first one here, only appears in CM13 ROM (only tried the "resurrection" one) http://xdaforums.com/oneplus-3/help/resurrection-rom-skype-speakerphone-t3419380, totally fine in Oxygen OS.

2. When using Google Hangouts app ONLY WITH speakerphone enabled, the other party hears themselves loudly, like acoustic echo cancellation is not working. That is happening only in CM13 (EDITED: before it was also happening on OxygenOS 3.2.1 installed via OTA, but is not present in cleanly flashed 3.2.1 ROM). Speakerphone in GSM calls works ok, and Skype on Oxygen OS does not produce any echo either. As stated above, could not test Skype on CM13, as the speakerphone mic does not work at all.

Just in case here are adb logs from Hangouts:

07-15 19:09:58.193 9811 11015 W libjingle: [1720:382] [11015] (webrtcvoiceengine.cc:983): webrtc: GetRTPStatistics() failed to read RTP statistics from the RTP/RTCP module (error=9028)
07-15 19:09:58.524 653 1533 D audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2
07-15 19:09:58.547 653 1532 D audio_hw_primary: out_set_parameters: enter: usecase(12: audio-ull-playback) kvpairs: routing=2
07-15 19:09:58.693 653 1530 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
07-15 19:09:58.697 653 1530 D msm8974_platform: platform_set_echo_reference: enabling echo-reference
07-15 19:09:58.698 653 1530 D audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(59: speaker-dmic-endfire)
07-15 19:09:58.698 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
07-15 19:09:58.725 653 1530 D hardware_info: hw_info_append_hw_type : device_name = dmic-endfire
07-15 19:09:58.725 653 1530 D audio_hw_primary: disable_snd_device: snd_device(51: dmic-endfire)
07-15 19:09:58.732 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker-dmic-endfire
07-15 19:09:58.732 653 1530 D audio_hw_primary: enable_snd_device: snd_device(59: speaker-dmic-endfire)
07-15 19:09:58.738 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg CAPTURE app_type 69938, acdb_dev_id 43, sample_rate 48000
07-15 19:09:58.738 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 43, path = 1, app id = 0x11132, sample rate = 48000
07-15 19:09:58.739 653 1530 D : Failed to fetch the lookup information of the device 0000002B
07-15 19:09:58.739 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 19:09:58.739 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 19:09:58.739 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 43, Topology Id 112fb
07-15 19:09:58.739 653 1530 D : Failed to fetch the lookup information of the device 0000002B
07-15 19:09:58.739 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 43 path = 1
07-15 19:09:58.739 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: audio-record
07-15 19:09:58.771 653 1530 D audio_hw_primary: select_devices: done
07-15 19:09:58.771 653 1530 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
07-15 19:09:58.772 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
07-15 19:09:58.802 653 1530 D hardware_info: hw_info_append_hw_type : device_name = handset
07-15 19:09:58.802 653 1530 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
07-15 19:09:58.805 653 1530 D aud_dev_arbi: releaseOneDevice: not sending command, device argument (1) does not match any registered device
07-15 19:09:58.805 653 1530 D aud_dev_arbi: releaseOneDevice: device 1 owner is 0
07-15 19:09:58.806 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: Usecase bitwidth 16, samplerate 48000
07-15 19:09:58.806 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
07-15 19:09:58.806 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 current bit width: 16 and sample rate: 48000
07-15 19:09:58.806 653 1530 W msm8974_platform: platform_check_codec_backend_cfg:Use default bw and sr for voice/voip calls
07-15 19:09:58.806 653 1530 D msm8974_platform: platform_check_codec_backend_cfg: resetting sample_rate back to default, backend_idx: 0
07-15 19:09:58.806 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
07-15 19:09:58.806 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-15 19:09:58.806 653 1530 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
07-15 19:09:58.806 653 1530 D aud_dev_arbi: acquireOneDevice: device owner for device 2 is 1
07-15 19:09:58.810 653 1530 I audio_hw_primary: select_devices Selected apptype: 69937
07-15 19:09:58.810 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg PLAYBACK app_type 69937, acdb_dev_id 15, sample_rate 48000
07-15 19:09:58.811 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000
07-15 19:09:58.811 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 19:09:58.811 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 19:09:58.811 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1025e
07-15 19:09:58.811 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
07-15 19:09:58.811 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback quat_i2s
07-15 19:09:58.851 653 1530 D audio_hw_primary: select_devices: done
07-15 19:09:58.851 653 1530 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
07-15 19:09:58.854 653 1530 W msm8974_platform: platform_send_gain_dep_cal: Usecase list is empty
07-15 19:09:58.879 653 1530 D AudioFlinger: mixer(0xf23c0000) throttle end: throttle time(2)
07-15 19:09:58.885 653 11035 D audio_hw_primary: in_set_parameters: enter: kvpairs=input_source=7;routing=-2147483520
07-15 19:09:58.887 653 11035 D msm8974_platform: platform_set_echo_reference: enabling echo-reference