Searched refs:cal_file (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | cirrus_playback.c | 211 FILE *cal_file = NULL; in audio_extn_cirrus_run_calibration() local 233 cal_file = fopen(CRUS_CAL_FILE, "r"); in audio_extn_cirrus_run_calibration() 234 if (cal_file) { in audio_extn_cirrus_run_calibration() 235 ret = fread(&result, sizeof(result), 1, cal_file); in audio_extn_cirrus_run_calibration() 238 __func__, (unsigned long)ret * sizeof(result), ferror(cal_file)); in audio_extn_cirrus_run_calibration() 240 fclose(cal_file); in audio_extn_cirrus_run_calibration() 244 fclose(cal_file); in audio_extn_cirrus_run_calibration() 308 cal_file = fopen(CRUS_CAL_FILE, "wb"); in audio_extn_cirrus_run_calibration() 309 if (cal_file == NULL) { in audio_extn_cirrus_run_calibration() 316 ret = fwrite(&result, sizeof(result), 1, cal_file); in audio_extn_cirrus_run_calibration() [all …]
|