sound: fixed typos
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e799d0bce6
commit
fa2eb005eb
@ -23,7 +23,7 @@ static int __devinit snd_vortex_mixer(vortex_t * vortex)
|
|||||||
if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0)
|
if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0)
|
||||||
return err;
|
return err;
|
||||||
memset(&ac97, 0, sizeof(ac97));
|
memset(&ac97, 0, sizeof(ac97));
|
||||||
// Intialize AC97 codec stuff.
|
// Initialize AC97 codec stuff.
|
||||||
ac97.private_data = vortex;
|
ac97.private_data = vortex;
|
||||||
ac97.scaps = AC97_SCAP_NO_SPDIF;
|
ac97.scaps = AC97_SCAP_NO_SPDIF;
|
||||||
err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
|
err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
|
||||||
|
@ -150,7 +150,7 @@ static int __init sffsdr_init(void)
|
|||||||
sffsdr_snd_resources,
|
sffsdr_snd_resources,
|
||||||
ARRAY_SIZE(sffsdr_snd_resources));
|
ARRAY_SIZE(sffsdr_snd_resources));
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "platform device add ressources failed\n");
|
printk(KERN_ERR "platform device add resources failed\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ static int neo1973_gta02_voice_hw_params(
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* configue and enable PLL for 12.288MHz output */
|
/* configure and enable PLL for 12.288MHz output */
|
||||||
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
||||||
iis_clkrate / 4, 12288000);
|
iis_clkrate / 4, 12288000);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
@ -201,7 +201,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream,
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* configue and enable PLL for 12.288MHz output */
|
/* configure and enable PLL for 12.288MHz output */
|
||||||
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
||||||
iis_clkrate / 4, 12288000);
|
iis_clkrate / 4, 12288000);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
2periods works but is useless cause of crackling).
|
2periods works but is useless cause of crackling).
|
||||||
|
|
||||||
This is a first "proof of concept" implementation.
|
This is a first "proof of concept" implementation.
|
||||||
Later, funcionalities should migrate to more apropriate places:
|
Later, functionalities should migrate to more apropriate places:
|
||||||
Userland:
|
Userland:
|
||||||
- The jackd could mmap its float-pcm buffers directly from alsa-lib.
|
- The jackd could mmap its float-pcm buffers directly from alsa-lib.
|
||||||
- alsa-lib could provide power of 2 period sized shaping combined with int/float
|
- alsa-lib could provide power of 2 period sized shaping combined with int/float
|
||||||
|
Loading…
Reference in New Issue
Block a user