Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16c5ab1d authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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



Spotted while correcting the sentences.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a690a2a1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3278,8 +3278,8 @@ struct _snd_pcm_runtime {
	 <programlisting>
<![CDATA[
  snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
                      hw_rule_channels_by_format, 0, SNDRV_PCM_HW_PARAM_FORMAT,
                      -1);
                      hw_rule_channels_by_format, NULL,
                      SNDRV_PCM_HW_PARAM_FORMAT, -1);
]]>
          </programlisting>
        </informalexample>
@@ -3321,8 +3321,8 @@ struct _snd_pcm_runtime {
	 <programlisting>
<![CDATA[
  snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT,
                      hw_rule_format_by_channels, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
                      -1);
                      hw_rule_format_by_channels, NULL,
                      SNDRV_PCM_HW_PARAM_CHANNELS, -1);
]]>
          </programlisting>
        </informalexample>