From: dinesh Subject: Filling "Struct snd_dma_buffer" manually Date: Thu, 24 Jul 2008 18:29:59 +0530 Message-ID: <1216904399.2846.33.camel@dinesh.dua> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.coraltele.com (unknown [122.160.64.235]) by alsa0.perex.cz (Postfix) with ESMTP id 449A01038FF for ; Thu, 24 Jul 2008 15:02:31 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.coraltele.com (Postfix) with ESMTP id 5C3771B264F for ; Thu, 24 Jul 2008 18:32:25 +0530 (IST) Received: from mail.coraltele.com ([127.0.0.1]) by localhost (mail.coraltele.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ROx6P1ZlG3ew for ; Thu, 24 Jul 2008 18:32:23 +0530 (IST) Received: from [192.168.4.53] (unknown [192.168.4.53]) by mail.coraltele.com (Postfix) with ESMTPA id 3C9B41B26A9 for ; Thu, 24 Jul 2008 18:32:23 +0530 (IST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel List-Id: alsa-devel@alsa-project.org Hello, I am stuck with a problem please help me. I have allocated a buffer in ram and i want that if i playback something from user end then alsa library exchanges data with this buffer using memory mapping but for this i have to fill a structure "snd_dma_buffer" in driver code but as i have told i dont want to use dma so i have to fill it manually with address of ram buffer. Please tell me if it is possible if yes then help me. Thanks in advance.. Regards, Dinesh Dua