From: Sergey Kolosov Subject: questions about simple alsa driver Date: Tue, 7 Feb 2006 13:54:34 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1259_1339372.1139309674190" Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org ------=_Part_1259_1339372.1139309674190 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello. I write alsa driver for device when not support dma which does not support dma. But I write through emulation dma that worked mmap. I.e. on interruption data from dma buffers are read out, writind in device and set hw_ptr for callback pointer. 1) As is filled ring dma the buffer? I.e. whence I can read through a head of the buffer? 2) Filling of the buffer goes continuously or the separate periods are completely filled only? And in general for what the periods are necessary? ------=_Part_1259_1339372.1139309674190 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello.
I write alsa driver for device when not support dma which does not support dma.  But I write through emulation dma that worked mmap. I.e. on interruption data from dma buffers are read out, writind in device and set hw_ptr for callback pointer.
1) As is filled ring dma the buf= fer? I.e. whence I can read through a head of the buffer?
2) Filling of the buffer goes continuously or the separate periods are completely filled only? And in general for what the periods are necessary?

------=_Part_1259_1339372.1139309674190-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642