[Miscellaneous Android Development] siljaer:
Maybe I've found something. With stock rom, logcat shows some other acdb stuff not displayed with CM13, furthermore:

D/msm8916_platform( 276): hw_util_open Opening device /dev/snd/hwC0D1000
D/msm8916_platform( 276): hw_util_open success
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001A
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001B
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001C
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001D
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001E
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 0000001F
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 00000067
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -19
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 00000056
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -1
D/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ ( 276): Failed to fetch the lookup information of the device 00000059
E/ACDB-LOADER( 276): Error: ACDB ANC returned = -1
E/msm8916_platform( 276): Failed to call ioctl for anc_cal err=14 calib.size=16
D/msm8916_platform( 276): send_codec_cal cal sent for anc_cal calib.size=16
E/ACDB-LOADER( 276): ACDB -> send_codec_cal
E/ACDB-LOADER( 276): ACDB -> ACDB_CMD_GET_CODEC_CAL_DATA
D/ ( 276): Failed to fetch the lookup information of the device 00000064
E/ACDB-LOADER( 276): Error: ACDB CODEC CAL returned = -19
E/msm8916_platform( 276): Failed to call ioctl for mad_cal err=14 calib.size=-1420869096
D/msm8916_platform( 276): send_codec_cal cal sent for mad_cal calib.size=-1420869096
D/ACDB-LOADER( 276): send mbhc data
D/ACDB-LOADER( 276): ACDB -> MBHC ACDB_PID_GENERAL_CONFIG
D/ACDB-LOADER( 276): ACDB -> MBHC ACDB_PID_PLUG_REMOVAL_DETECTION
D/ACDB-LOADER( 276): ACDB -> MBHC ACDB_PID_PLUG_TYPE_DETECTION
D/ACDB-LOADER( 276): ACDB -> MBHC ACDB_PID_BUTTON_PRESS_DETECTION
D/ACDB-LOADER( 276): ACDB -> MBHC ACDB_PID_IMPEDANCE_DETECTION
D/msm8916_platform( 276): send_codec_cal cal sent for mbhc_cal calib.size=154
I/soundtrigger( 276): audio_extn_sound_trigger_init: Enter
I/soundtrigger( 276): audio_extn_sound_trigger_init: DLOPEN successful for /system/vendor/lib/hw/sound_trigger.primary.msm8916.so

some other calibration data, ok. But What about sound_trigger?

with CM13:

07-30 22:31:45.526 251 251 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)

obviously, I tried to add /system/vendor/lib/hw/sound_trigger.primary.msm8916.so and /etc/sound_trigger_mixer_paths.xml, but it did not work:

07-30 23:40:49.641 253 253 I sound_trigger_platform: platform_stdev_init: Enter
07-30 23:40:49.822 669 669 W PackageManager: Package org.geometerplus.zlibrary.ui.android desires unavailable shared library com.yotadevices.platinum; ignoring!
07-30 23:40:50.098 669 669 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_NETWORK_STATE in package: org.mozilla.firefox at: Binary XML file line #43
07-30 23:40:50.098 669 669 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_FINE_LOCATION in package: org.mozilla.firefox at: Binary XML file line #59
07-30 23:40:50.098 669 669 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_NETWORK_STATE in package: org.mozilla.firefox at: Binary XML file line #60
07-30 23:40:50.098 669 669 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.INTERNET in package: org.mozilla.firefox at: Binary XML file line #61
07-30 23:40:50.318 669 669 W PackageManager: Package org.mozilla.firefox has activity org.mozilla.firefox.App with priority > 0, forcing to 0
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM1 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM2 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM3 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM4 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM5 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM6 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM7 MUX' doesn't exist - skipping
07-30 23:40:50.741 253 253 E audio_route: Control 'LSM8 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM1 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM2 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM3 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM4 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM5 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM6 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM7 MUX' doesn't exist - skipping
07-30 23:40:50.742 253 253 E audio_route: Control 'LSM8 MUX' doesn't exist - skipping
07-30 23:40:50.743 253 253 I sound_trigger_platform: platform_stdev_init: acdb_init: msm8x16-skuh-snd-card
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_General_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Global_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Handset_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Hdmi_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Headset_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> Load file: /etc/acdbdata/QRD/QRD_Speaker_cal.acdb
07-30 23:40:50.744 253 253 D ACDB-LOADER: ACDB -> ACDB_CMD_INITIALIZE_V2
07-30 23:40:50.744 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb
07-30 23:40:50.744 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.744 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.745 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_General_cal.acdb
07-30 23:40:50.745 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.745 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.745 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Global_cal.acdb
07-30 23:40:50.745 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.745 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.746 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Handset_cal.acdb
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.746 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Hdmi_cal.acdb
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.746 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Headset_cal.acdb
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.746 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.746 253 253 D : [ACDB Command]->SW Minor/Major/Revision version info for /etc/acdbdata/QRD/QRD_Speaker_cal.acdb
07-30 23:40:50.747 253 253 D : [ACDB Command]->ACDB Sw Major = 5, ACDB Sw Minor = 0, ACDB Sw Revision = 4
07-30 23:40:50.747 253 253 D : [ACDB Command]->ACDB File Major = 4, ACDB File Minor = 2, ACDB File Revision = 1
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D : ACDBFILE_MGR: Duplicate Acdb file set request, so skipping the set request
07-30 23:40:50.747 253 253 D ACDB-LOADER: ACDB -> ACPH INIT
07-30 23:40:50.747 253 253 D ACDB-LOADER: ACDB -> RTAC INIT
07-30 23:40:50.747 253 253 D : [ACPH]->Requested service already registered - 2
07-30 23:40:50.747 253 253 E : ACDB RTAC -> acph register failed error = -1
07-30 23:40:50.747 253 253 D ACDB-LOADER: ACDB -> MCS, FTS INIT
07-30 23:40:50.747 253 253 D : [ACPH]->Requested service already registered - 5
07-30 23:40:50.747 253 253 E ACDB-MCS: ACDB MSC -> acph register failed error = -1
07-30 23:40:50.747 253 253 D : [ACPH]->Requested service already registered - 4
07-30 23:40:50.747 253 253 E ACDB-FTS: acdb_fts_init: acph register failed error = -1
07-30 23:40:50.747 253 253 D ACDB-LOADER: ACDB -> ADIE RTAC INIT
07-30 23:40:50.747 253 253 D : [ACPH]->Requested service already registered - 3
07-30 23:40:50.747 253 253 E : ACDB RTAC -> acph register failed error = -1
07-30 23:40:50.747 253 253 D ACDB-LOADER: ACDB -> send_meta_info, lic 0
07-30 23:40:50.747 253 253 D : Couldnt find the key 00000000
07-30 23:40:50.747 253 253 D : Output from GetMetaInfoSize command : 0
07-30 23:40:50.753 669 669 W PackageManager: Package org.telegram.messenger desires unavailable shared library com.sec.android.app.multiwindow; ignoring!
07-30 23:40:50.759 253 253 E ACDB-LOADER: ACDB -> Error: Sending AUDIO_ALLOCATE_CALIBRATION, result = -1
07-30 23:40:50.759 253 253 E ACDB-LOADER: ACDB -> allocate_cal_block failed!
07-30 23:40:50.760 253 253 E ACDB-LOADER: ACDB -> Error: Sending AUDIO_DEALLOCATE_CALIBRATION, result = -1
07-30 23:40:50.761 253 253 E ACDB-LOADER: ACDB -> Cannot allocate memory!
07-30 23:40:50.761 253 253 E sound_trigger_platform: platform_stdev_init: ERROR. acdb_loader_init_v2 failed status -12
07-30 23:40:50.763 253 253 E sound_trigger_hw: stdev_open: ERROR. platform init failed
07-30 23:40:50.763 253 253 D sound_trigger_hw: stdev_open: Exit status -19
07-30 23:40:50.763 253 253 E SoundTriggerHwService: couldn't open sound trigger hw device in sound_trigger.primary (No such device)

adding /etc/sound_tigger_platform_info.xml did not change the outcome.

I am stuck.