From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency Date: Wed, 18 Nov 2015 15:13:25 +0100 Message-ID: References: <1447579536-4459-1-git-send-email-o-takashi@sakamocchi.jp> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 40FE426572D for ; Wed, 18 Nov 2015 15:13:27 +0100 (CET) In-Reply-To: <1447579536-4459-1-git-send-email-o-takashi@sakamocchi.jp> 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: Takashi Sakamoto Cc: alsa-devel@alsa-project.org, clemens@ladisch.de, ffado-devel@lists.sf.net List-Id: alsa-devel@alsa-project.org On Sun, 15 Nov 2015 10:25:28 +0100, Takashi Sakamoto wrote: > > Hi, > > This patchset adds a constrain to ALSA dice driver to start PCM > substreams and AMDTP packet transferring just at current sampling > transfer frequency. > > Dice hardware doesn't allow drivers to get supported combinations > between sampling rate and PCM channels. ALSA dice driver should follow > to the hardware design, though current ALSA driver has some > over-specifications. As a result, the driver has several issue and > brings inconvenience to users. > > This patchset consists of two parts: > * 01-05: to add constrain to current sampling transfer frequency and related > code cleanup > * 06-08: to ensure and stabilize AMDTP packet transmission > > As a result, userspace applications can request PCM substreams at current > sampling transfer frequency. Therefore, when users want to start PCM > substreams at different rate, they should set the rate in advance by the > other ways (i.e. ffado-dbus-server/ffado-mixer). This sounds rather like a step backward. Why can't the driver set the rate if it's the only first and exclusive user? thanks, Takashi