Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv5017/core

Modified Files:
        pcm.c 
Log Message:
[PATCH: cmi8330-merge.dif]

- added substream->private_data field, which is copied from
  pcm->private_data at open.  can be modified by the driver,
  so that a different value can be held for each substream.

- merged sb16 and ad1848 devices as one device on cmi8330.



Index: pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- pcm.c       4 Dec 2002 09:40:45 -0000       1.20
+++ pcm.c       7 Jan 2003 10:31:23 -0000       1.21
@@ -774,6 +774,7 @@
        runtime->status->state = SNDRV_PCM_STATE_OPEN;
 
        substream->runtime = runtime;
+       substream->private_data = pcm->private_data;
        pstr->substream_opened++;
        *rsubstream = substream;
        return 0;



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to