diff options
-rw-r--r-- | Documentation/DocBook/writing-an-alsa-driver.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/DocBook/writing-an-alsa-driver.tmpl b/Documentation/DocBook/writing-an-alsa-driver.tmpl index c564faab981c..bd6fee22c4dd 100644 --- a/Documentation/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/DocBook/writing-an-alsa-driver.tmpl | |||
@@ -3278,8 +3278,8 @@ struct _snd_pcm_runtime { | |||
3278 | <programlisting> | 3278 | <programlisting> |
3279 | <![CDATA[ | 3279 | <![CDATA[ |
3280 | snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, | 3280 | snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, |
3281 | hw_rule_channels_by_format, 0, SNDRV_PCM_HW_PARAM_FORMAT, | 3281 | hw_rule_channels_by_format, NULL, |
3282 | -1); | 3282 | SNDRV_PCM_HW_PARAM_FORMAT, -1); |
3283 | ]]> | 3283 | ]]> |
3284 | </programlisting> | 3284 | </programlisting> |
3285 | </informalexample> | 3285 | </informalexample> |
@@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime { | |||
3321 | <programlisting> | 3321 | <programlisting> |
3322 | <![CDATA[ | 3322 | <![CDATA[ |
3323 | snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, | 3323 | snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, |
3324 | hw_rule_format_by_channels, 0, SNDRV_PCM_HW_PARAM_CHANNELS, | 3324 | hw_rule_format_by_channels, NULL, |
3325 | -1); | 3325 | SNDRV_PCM_HW_PARAM_CHANNELS, -1); |
3326 | ]]> | 3326 | ]]> |
3327 | </programlisting> | 3327 | </programlisting> |
3328 | </informalexample> | 3328 | </informalexample> |