From: Clemens Ladisch Subject: Re: Missing exactly 3 of 8 audio packets? Date: Tue, 27 Nov 2012 20:46:49 +0100 Message-ID: <50B518A9.4090807@ladisch.de> References: <50AE99E7.6080008@gmail.com> <50B21255.8080202@gmail.com> <50B31800.2000000@gmail.com> <50B4A870.7040201@gmail.com> <50B4F699.5090205@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by alsa0.perex.cz (Postfix) with ESMTP id D316A26164E for ; Tue, 27 Nov 2012 20:47:06 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Daniel Griscom Cc: Alsa Developer , Daniel Mack List-Id: alsa-devel@alsa-project.org Daniel Griscom wrote: > We are using a bInterval value of 1 (on a high-speed device). We've > recently tried bumping this up to 2, and the problem was no longer > evident This might indicate that the controller has problems reading the packet data from memory; there's a considerable overhead for each memory transaction, and the controller needs to update the DMA lists. (The pattern might be caused by some data, which arrives too late, interfering with the reading of the next packet.) If 2 is the first save interval, consider using 4. For that matter, full-speed devices work fine with one packet per frame. There isn't a problem with buffering one millisecond of data in the device, is it? (The only reason to use smaller intervals is if you really require sub- millisecond latencies, or if the bigger packets would eat up too much bandwidth in one of the microframes. The cost of smaller intervals is more overhead on the host, on the bus, and in the device.) Regards, Clemens