|
[alsa-cvslog] CVS: alsa-kernel/Documentation/DocBook writing-an-alsa-driver.tmpl,1.61,1.62
From: Takashi Iwai <tiwai@us...> - 2006-01-27 12:02
|
Update of /cvsroot/alsa/alsa-kernel/Documentation/DocBook
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29777/Documentation/DocBook
Modified Files:
writing-an-alsa-driver.tmpl
Log Message:
Summary: fix typos in writing-an-alsa-driver
Fixed typos in writing-an-alsa-driver document.
Signed-off-by: Giuliano Pochini <pochini@...>
Index: writing-an-alsa-driver.tmpl
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- writing-an-alsa-driver.tmpl 16 Jan 2006 13:30:52 -0000 1.61
+++ writing-an-alsa-driver.tmpl 27 Jan 2006 12:02:05 -0000 1.62
@@ -5206,14 +5206,14 @@
You need to pass the <function>snd_dma_pci_data(pci)</function>,
where pci is the struct <structname>pci_dev</structname> pointer
of the chip as well.
- The <type>snd_sg_buf_t</type> instance is created as
+ The <type>struct snd_sg_buf</type> instance is created as
substream->dma_private. You can cast
the pointer like:
<informalexample>
<programlisting>
<![CDATA[
- struct snd_sg_buf *sgbuf = (struct snd_sg_buf_t*)substream->dma_private;
+ struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private;
]]>
</programlisting>
</informalexample>
|
| Thread | Author | Date |
|---|---|---|
| [alsa-cvslog] CVS: alsa-kernel/Documentation/DocBook writing-an-alsa-driver.tmpl,1.61,1.62 | Takashi Iwai <tiwai@us...> |