Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsplice.c73 double fade_step = M_PI_2 / overlap; in splice() local
75 double fade_in = sin(i * fade_step); in splice()
76 double fade_out = cos(i * fade_step); /* constant RMS level (`power') */ in splice()
84 double fade_step = M_PI / overlap; in splice() local
86 double fade_in = .5 - .5 * cos(i * fade_step); in splice()
95 double fade_step = 1. / overlap; in splice() local
97 double fade_in = fade_step * i; in splice()
H A Dtempo.c91 float fade_step = 1.0f / (float) t->overlap; in tempo_overlap() local
94 float fade_in = fade_step * (float) i; in tempo_overlap()
/OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/
H A Daw_device.c59 int fade_step = aw_dev->fade_step; in aw_dev_fade_in() local
64 if (fade_step == 0 || g_fade_in_time == 0) { in aw_dev_fade_in()
69 for (i = desc->mute_volume; i >= desc->init_volume; i -= fade_step) { in aw_dev_fade_in()
84 int fade_step = aw_dev->fade_step; in aw_dev_fade_out() local
89 if (fade_step == 0 || g_fade_out_time == 0) { in aw_dev_fade_out()
95 for (i = start_volume; i <= desc->mute_volume; i += fade_step) { in aw_dev_fade_out()
107 return aw_dev->fade_step; in aw_dev_get_fade_vol_step()
112 aw_dev->fade_step = step; in aw_dev_set_fade_vol_step()
H A Daw_device.h433 unsigned int fade_step; member
H A Daw_init.c385 aw_pa->fade_step = AW_PID_2049_VOLUME_STEP_DB; in aw883xx_dev_init()
H A Daw883xx.c2362 static DEVICE_ATTR(fade_step, S_IWUSR | S_IRUGO,