From: Adrian McMenamin Subject: DMA strangeness? Date: Sun, 19 Feb 2006 15:12:33 +0000 Message-ID: <1140361953.9117.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 I am using oss emulation to test my driver (I cannot get the alsa utilities to work properly on my Dreamcast (SH4/uclibc) system). When I do something like cat foobar > /dev/dsp it seems that the DMA buffer is filled with doubles of every byte of foobar eg if foobar was 0xFF, 0x10 ... etc then the first four bytes of the DMA buffer would be 0xFF 0xFF 0x10 0x10 Is there a reason for this? Obviously I've made a mistake somewhere but I don't know where (driver code is at http://newgoldddream.dyndns.nfo/repos) ------------------------------------------------------- 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