Searched refs:volume_level (Results 1 – 1 of 1) sorted by relevance
1513 …double volume_level = is->audio_volume ? (20 * log(is->audio_volume / (double)SDL_MIX_MAXVOLUME) /… in update_volume() local1514 int new_volume = lrint(SDL_MIX_MAXVOLUME * pow(10.0, (volume_level + sign * step) / 20.0)); in update_volume()