Home
last modified time | relevance | path

Searched refs:prev_db (Results 1 – 1 of 1) sorted by relevance

/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c4343 double prev_db = 0; in decibel_fix_parse_db_values() local
4401 if (db < prev_db && i != 1) { in decibel_fix_parse_db_values()
4402 …ibel value %0.2f less than the previous value %0.2f", state->filename, state->lineno, db, prev_db); in decibel_fix_parse_db_values()
4410 prev_db = db; in decibel_fix_parse_db_values()
4413 double db_increment = (db - prev_db) / (step - prev_step); in decibel_fix_parse_db_values()
4415 for (; prev_step < step; ++prev_step, prev_db += db_increment) { in decibel_fix_parse_db_values()
4423 db_values[prev_step + 1 - min_step] = (long) ((prev_db + db_increment) * 100.0); in decibel_fix_parse_db_values()