Update of /cvsroot/alsa/alsa-kernel/Documentation/DocBook
In directory sc8-pr-cvs1:/tmp/cvs-serv10048
Modified Files:
alsa-driver-api.tmpl writing-an-alsa-driver.tmpl
Log Message:
fixed for the new memory allocator.
Index: alsa-driver-api.tmpl
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/Documentation/DocBook/alsa-driver-api.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- alsa-driver-api.tmpl 17 Jan 2003 12:42:33 -0000 1.3
+++ alsa-driver-api.tmpl 28 Feb 2003 16:03:58 -0000 1.4
@@ -48,6 +48,8 @@
<sect1><title>Memory Management Helpers</title>
!Esound/core/memory.c
!Iinclude/sound/sndmagic.h
+!Esound/core/memalloc.c
+!Esound/core/sgbuf.c
</sect1>
</chapter>
<chapter><title>PCM API</title>
@@ -61,9 +63,6 @@
</sect1>
<sect1><title>PCM Memory Managment</title>
!Esound/core/pcm_memory.c
- </sect1>
- <sect1><title>SG-Buffer Helpers</title>
-!Esound/core/pcm_sgbuf.c
</sect1>
</chapter>
<chapter><title>Control/Mixer API</title>
Index: writing-an-alsa-driver.tmpl
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- writing-an-alsa-driver.tmpl 20 Feb 2003 09:25:22 -0000 1.5
+++ writing-an-alsa-driver.tmpl 28 Feb 2003 16:03:58 -0000 1.6
@@ -4480,8 +4480,7 @@
<informalexample>
<programlisting>
<![CDATA[
- snd_pcm_sgbuf_t *sgbuf = snd_magic_cast(snd_pcm_sgbuf_t,
- substream->dma_private, return -EINVAL);
+ snd_pcm_sgbuf_t *sgbuf = (snd_pcm_sgbuf_t*)substream->dma_private;
]]>
</programlisting>
</informalexample>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog