Skip to content

Commit ced7c28

Browse files
gushengxiantiwai
authored andcommitted
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>
1 parent ff630b6 commit ced7c28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sound/synth/emux/emux_nrpn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static const int gs_sense[] =
6969
DEF_FX_VIBRATE, DEF_FX_VIBDEPTH, DEF_FX_VIBDELAY
7070
};
7171

72-
/* effect sensitivies for XG controls:
72+
/* effect sensitivities for XG controls:
7373
* adjusted for chaos 8MB soundfonts
7474
*/
7575
static const int xg_sense[] =

sound/synth/emux/soundfont.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ snd_soundfont_close_check(struct snd_sf_list *sflist, int client)
108108
* Deal with a soundfont patch. Any driver could use these routines
109109
* although it was designed for the AWE64.
110110
*
111-
* The sample_write and callargs pararameters allow a callback into
111+
* The sample_write and callargs parameters allow a callback into
112112
* the actual driver to write sample data to the board or whatever
113113
* it wants to do with it.
114114
*/
@@ -799,7 +799,7 @@ snd_sf_linear_to_log(unsigned int amount, int offset, int ratio)
799799
amount <<= 1;
800800
s = (amount >> 24) & 0x7f;
801801
low = (amount >> 16) & 0xff;
802-
/* linear approxmimation by lower 8 bit */
802+
/* linear approximation by lower 8 bit */
803803
v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8;
804804
v -= offset;
805805
v = (v * ratio) >> 16;
@@ -1433,7 +1433,7 @@ snd_sf_free(struct snd_sf_list *sflist)
14331433

14341434
/*
14351435
* Remove all samples
1436-
* The soundcard should be silet before calling this function.
1436+
* The soundcard should be silent before calling this function.
14371437
*/
14381438
int
14391439
snd_soundfont_remove_samples(struct snd_sf_list *sflist)

0 commit comments

Comments
 (0)