Update of /cvsroot/alsa/alsa-kernel/Documentation/DocBook In directory sc8-pr-cvs1:/tmp/cvs-serv28415
Modified Files: writing-an-alsa-driver.tmpl Log Message: Added read_size comment for snd_info_set_text_ops() Index: writing-an-alsa-driver.tmpl =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- writing-an-alsa-driver.tmpl 26 Nov 2003 13:57:05 -0000 1.17 +++ writing-an-alsa-driver.tmpl 28 Dec 2003 10:54:24 -0000 1.18 @@ -5016,13 +5016,14 @@ <informalexample> <programlisting> <![CDATA[ - snd_info_set_text_ops(entry, chip, my_proc_read); + snd_info_set_text_ops(entry, chip, read_size, my_proc_read); ]]> </programlisting> </informalexample> 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 is defined like ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog