提交 16c5ab1d 编写于 作者: T Takashi Iwai

ALSA: Replace 0 with NULL in writing-an-alsa-driver.tmpl

Spotted while correcting the sentences.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 a690a2a1
...@@ -3278,8 +3278,8 @@ struct _snd_pcm_runtime { ...@@ -3278,8 +3278,8 @@ struct _snd_pcm_runtime {
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
hw_rule_channels_by_format, 0, SNDRV_PCM_HW_PARAM_FORMAT, hw_rule_channels_by_format, NULL,
-1); SNDRV_PCM_HW_PARAM_FORMAT, -1);
]]> ]]>
</programlisting> </programlisting>
</informalexample> </informalexample>
...@@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime { ...@@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime {
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT,
hw_rule_format_by_channels, 0, SNDRV_PCM_HW_PARAM_CHANNELS, hw_rule_format_by_channels, NULL,
-1); SNDRV_PCM_HW_PARAM_CHANNELS, -1);
]]> ]]>
</programlisting> </programlisting>
</informalexample> </informalexample>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册