From: Karsten Wiese Subject: Re: [PATCH]snd-usb-usx2y 0.8.7: Use macro usb_maxpacket() for portability Date: Thu, 9 Dec 2004 13:06:23 +0100 Message-ID: <200412091306.23970.annabellesgarden@yahoo.de> References: <200412021319.20027.annabellesgarden@yahoo.de> <200412072301.52065.annabellesgarden@yahoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline 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: Rui Nuno Capela Cc: alsa-devel@lists.sourceforge.net, Takashi Iwai List-Id: alsa-devel@alsa-project.org Am Mittwoch 08 Dezember 2004 20:32 schrieb Takashi Iwai: > At Tue, 7 Dec 2004 23:01:51 +0100, > Karsten Wiese wrote: > > > > >>>> > > Summary: hwdep interface for pcm data. > > > > Implements "rawusb" pcm data transfer through hwdep interface: > > The usb_hc moves pcm data from/into memory via DMA. > > That memory is mmaped by jack's usx2y driver. > > Jack's usx2y driver is the first/last executable code to read/write pcm data. > > Read/write is a combination of power of 2 period shaping and float/int conversation. > > Compared to standard alsa/jack we leave out power of 2 period shaping > > inside snd-usb-usx2y which needs memcpy() and additional buffers. > > As a side effect possible unwanted pcm-data coruption resulting of > > standard alsa's snd-usb-usx2y period shaping scheme falls away. > > Result is sane jack operation at buffering schemes down to 128frames, 2 periods. > > Also changed Kconfig file, so snd-usb-usx2y is only available for X86, PPC or ALPHA platforms, > > as on others DMA-memory isn't mmapable. > > > > Signed-off-by: Karsten Wiese > > <<<< > > Thanks, applied to the CVS tree now. > Please check later whether it works for you... May I ask you to check CVS's version? Keep in mind that jackd is now called like: $ jackd -dusx2y -dhw:1,2 You might also change qjackctl to always append ",2" to the hw device in the usx2y case. thanks, Karsten ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/