Update of /cvsroot/alsa/alsa-kernel/core In directory sc8-pr-cvs1:/tmp/cvs-serv18936
Modified Files: pcm_memory.c Log Message: - don't override the pre-allocated buffer id if already defined. Index: pcm_memory.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_memory.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- pcm_memory.c 16 Jan 2004 18:05:52 -0000 1.22 +++ pcm_memory.c 19 Jan 2004 19:00:27 -0000 1.23 @@ -223,8 +223,9 @@ */ static inline void setup_pcm_id(snd_pcm_substream_t *subs) { - subs->dma_device.id = subs->pcm->device << 16 | - subs->stream << 8 | subs->number; + if (! subs->dma_device.id) + subs->dma_device.id = subs->pcm->device << 16 | + subs->stream << 8 | (subs->number + 1); } /** ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog