mirror of
https://github.com/torvalds/linux.git
synced 2024-10-23 21:50:43 +00:00
ALSA: emux: fix spelling mistakes
Fix some spelling mistakes as follows: sensitivies ==> sensitivities pararameters ==> parameters approxmimation ==> approximation silet ==> silent Signed-off-by: gushengxian <gushengxian@yulong.com> Link: https://lore.kernel.org/r/20210705125001.665734-1-gushengxian507419@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ff630b6ab9
commit
ced7c28775
|
@ -69,7 +69,7 @@ static const int gs_sense[] =
|
||||||
DEF_FX_VIBRATE, DEF_FX_VIBDEPTH, DEF_FX_VIBDELAY
|
DEF_FX_VIBRATE, DEF_FX_VIBDEPTH, DEF_FX_VIBDELAY
|
||||||
};
|
};
|
||||||
|
|
||||||
/* effect sensitivies for XG controls:
|
/* effect sensitivities for XG controls:
|
||||||
* adjusted for chaos 8MB soundfonts
|
* adjusted for chaos 8MB soundfonts
|
||||||
*/
|
*/
|
||||||
static const int xg_sense[] =
|
static const int xg_sense[] =
|
||||||
|
|
|
@ -108,7 +108,7 @@ snd_soundfont_close_check(struct snd_sf_list *sflist, int client)
|
||||||
* Deal with a soundfont patch. Any driver could use these routines
|
* Deal with a soundfont patch. Any driver could use these routines
|
||||||
* although it was designed for the AWE64.
|
* although it was designed for the AWE64.
|
||||||
*
|
*
|
||||||
* The sample_write and callargs pararameters allow a callback into
|
* The sample_write and callargs parameters allow a callback into
|
||||||
* the actual driver to write sample data to the board or whatever
|
* the actual driver to write sample data to the board or whatever
|
||||||
* it wants to do with it.
|
* it wants to do with it.
|
||||||
*/
|
*/
|
||||||
|
@ -799,7 +799,7 @@ snd_sf_linear_to_log(unsigned int amount, int offset, int ratio)
|
||||||
amount <<= 1;
|
amount <<= 1;
|
||||||
s = (amount >> 24) & 0x7f;
|
s = (amount >> 24) & 0x7f;
|
||||||
low = (amount >> 16) & 0xff;
|
low = (amount >> 16) & 0xff;
|
||||||
/* linear approxmimation by lower 8 bit */
|
/* linear approximation by lower 8 bit */
|
||||||
v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8;
|
v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8;
|
||||||
v -= offset;
|
v -= offset;
|
||||||
v = (v * ratio) >> 16;
|
v = (v * ratio) >> 16;
|
||||||
|
@ -1433,7 +1433,7 @@ snd_sf_free(struct snd_sf_list *sflist)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove all samples
|
* Remove all samples
|
||||||
* The soundcard should be silet before calling this function.
|
* The soundcard should be silent before calling this function.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
snd_soundfont_remove_samples(struct snd_sf_list *sflist)
|
snd_soundfont_remove_samples(struct snd_sf_list *sflist)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user