At Wed, 3 Mar 2004 23:47:10 +0530, Gupta, Kshitij wrote: > > hi, > Can someone please explain me what is the difference between > runtime->dma_addr and runtime->dma_area > > where runtime = substream->runtime
dma_addr is the physical address of the buffer. this is valid for PCI, ISA and SBUS buffers. dma_area is the virtual address of the buffer. > I am getting a very strange problem where I am getting a rumtime->dma_addr > value as 0 while runtime->dma_area is a proper value. if you use the buffer of SNDRV_DMA_TYPE_CONTINUOUS, dma_addr is not set, because the virtual pointer cannot be resolved to the physical address uniquely. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel