Commit d48a24f5 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Jaroslav Kysela <perex@suse.cz>

Documentation
Added read_size comment for snd_info_set_text_ops()
parent 002c171a
...@@ -5016,13 +5016,14 @@ struct _snd_pcm_runtime { ...@@ -5016,13 +5016,14 @@ struct _snd_pcm_runtime {
<informalexample> <informalexample>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
snd_info_set_text_ops(entry, chip, my_proc_read); snd_info_set_text_ops(entry, chip, read_size, my_proc_read);
]]> ]]>
</programlisting> </programlisting>
</informalexample> </informalexample>
where the second argument (<parameter>chip</parameter>) is the where the second argument (<parameter>chip</parameter>) is the
private data to be used in the callbacks and the third private data to be used in the callbacks. The third parameter
specifies the read buffer size and the fourth
(<parameter>my_proc_read</parameter>) is the callback function, which (<parameter>my_proc_read</parameter>) is the callback function, which
is defined like is defined like
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment