diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2007-01-22 08:54:33 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:03:07 -0500 |
commit | 5bda9fa1aefbb873f2bd181e63ce0d4231883c46 (patch) | |
tree | 5f5b68ef45fbfae6ef2da75170250d632dc84005 /Documentation | |
parent | f7ba7fc6173a9fb6d8a5bc02bf335cc358f21a09 (diff) |
[ALSA] Documentation/sound/alsa/DocBook: typos
Some typos in Documentation/sound/alsa/DocBook.
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl | 4 | ||||
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl b/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl index 1f3ae3e32d69..c4d2e3507af9 100644 --- a/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl +++ b/Documentation/sound/alsa/DocBook/alsa-driver-api.tmpl | |||
@@ -36,7 +36,7 @@ | |||
36 | </bookinfo> | 36 | </bookinfo> |
37 | 37 | ||
38 | <chapter><title>Management of Cards and Devices</title> | 38 | <chapter><title>Management of Cards and Devices</title> |
39 | <sect1><title>Card Managment</title> | 39 | <sect1><title>Card Management</title> |
40 | !Esound/core/init.c | 40 | !Esound/core/init.c |
41 | </sect1> | 41 | </sect1> |
42 | <sect1><title>Device Components</title> | 42 | <sect1><title>Device Components</title> |
@@ -59,7 +59,7 @@ | |||
59 | <sect1><title>PCM Format Helpers</title> | 59 | <sect1><title>PCM Format Helpers</title> |
60 | !Esound/core/pcm_misc.c | 60 | !Esound/core/pcm_misc.c |
61 | </sect1> | 61 | </sect1> |
62 | <sect1><title>PCM Memory Managment</title> | 62 | <sect1><title>PCM Memory Management</title> |
63 | !Esound/core/pcm_memory.c | 63 | !Esound/core/pcm_memory.c |
64 | </sect1> | 64 | </sect1> |
65 | </chapter> | 65 | </chapter> |
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl index 9b4458e5313b..74d3a35b59bc 100644 --- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | |||
@@ -2126,7 +2126,7 @@ | |||
2126 | accessible via <constant>substream->runtime</constant>. | 2126 | accessible via <constant>substream->runtime</constant>. |
2127 | This runtime pointer holds the various information; it holds | 2127 | This runtime pointer holds the various information; it holds |
2128 | the copy of hw_params and sw_params configurations, the buffer | 2128 | the copy of hw_params and sw_params configurations, the buffer |
2129 | pointers, mmap records, spinlocks, etc. Almost everyhing you | 2129 | pointers, mmap records, spinlocks, etc. Almost everything you |
2130 | need for controlling the PCM can be found there. | 2130 | need for controlling the PCM can be found there. |
2131 | </para> | 2131 | </para> |
2132 | 2132 | ||
@@ -2339,7 +2339,7 @@ struct _snd_pcm_runtime { | |||
2339 | 2339 | ||
2340 | <para> | 2340 | <para> |
2341 | When the PCM substreams can be synchronized (typically, | 2341 | When the PCM substreams can be synchronized (typically, |
2342 | synchorinized start/stop of a playback and a capture streams), | 2342 | synchronized start/stop of a playback and a capture streams), |
2343 | you can give <constant>SNDRV_PCM_INFO_SYNC_START</constant>, | 2343 | you can give <constant>SNDRV_PCM_INFO_SYNC_START</constant>, |
2344 | too. In this case, you'll need to check the linked-list of | 2344 | too. In this case, you'll need to check the linked-list of |
2345 | PCM substreams in the trigger callback. This will be | 2345 | PCM substreams in the trigger callback. This will be |
@@ -3244,7 +3244,7 @@ struct _snd_pcm_runtime { | |||
3244 | You can even define your own constraint rules. | 3244 | You can even define your own constraint rules. |
3245 | For example, let's suppose my_chip can manage a substream of 1 channel | 3245 | For example, let's suppose my_chip can manage a substream of 1 channel |
3246 | if and only if the format is S16_LE, otherwise it supports any format | 3246 | if and only if the format is S16_LE, otherwise it supports any format |
3247 | specified in the <structname>snd_pcm_hardware</structname> stucture (or in any | 3247 | specified in the <structname>snd_pcm_hardware</structname> structure (or in any |
3248 | other constraint_list). You can build a rule like this: | 3248 | other constraint_list). You can build a rule like this: |
3249 | 3249 | ||
3250 | <example> | 3250 | <example> |
@@ -3767,7 +3767,7 @@ struct _snd_pcm_runtime { | |||
3767 | <para> | 3767 | <para> |
3768 | Like <structfield>get</structfield> callback, | 3768 | Like <structfield>get</structfield> callback, |
3769 | when the control has more than one elements, | 3769 | when the control has more than one elements, |
3770 | all elemehts must be evaluated in this callback, too. | 3770 | all elements must be evaluated in this callback, too. |
3771 | </para> | 3771 | </para> |
3772 | </section> | 3772 | </section> |
3773 | 3773 | ||
@@ -5528,12 +5528,12 @@ struct _snd_pcm_runtime { | |||
5528 | #ifdef CONFIG_PM | 5528 | #ifdef CONFIG_PM |
5529 | static int snd_my_suspend(struct pci_dev *pci, pm_message_t state) | 5529 | static int snd_my_suspend(struct pci_dev *pci, pm_message_t state) |
5530 | { | 5530 | { |
5531 | .... /* do things for suspsend */ | 5531 | .... /* do things for suspend */ |
5532 | return 0; | 5532 | return 0; |
5533 | } | 5533 | } |
5534 | static int snd_my_resume(struct pci_dev *pci) | 5534 | static int snd_my_resume(struct pci_dev *pci) |
5535 | { | 5535 | { |
5536 | .... /* do things for suspsend */ | 5536 | .... /* do things for suspend */ |
5537 | return 0; | 5537 | return 0; |
5538 | } | 5538 | } |
5539 | #endif | 5539 | #endif |
@@ -6098,7 +6098,7 @@ struct _snd_pcm_runtime { | |||
6098 | <!-- ****************************************************** --> | 6098 | <!-- ****************************************************** --> |
6099 | <!-- Acknowledgments --> | 6099 | <!-- Acknowledgments --> |
6100 | <!-- ****************************************************** --> | 6100 | <!-- ****************************************************** --> |
6101 | <chapter id="acknowledments"> | 6101 | <chapter id="acknowledgments"> |
6102 | <title>Acknowledgments</title> | 6102 | <title>Acknowledgments</title> |
6103 | <para> | 6103 | <para> |
6104 | I would like to thank Phil Kerr for his help for improvement and | 6104 | I would like to thank Phil Kerr for his help for improvement and |