From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Subject: Re: [PATCH 0/9] Misc fixes related to rewinds Date: Sun, 14 Sep 2014 16:11:16 +0600 Message-ID: <541569C4.1020702@gmail.com> References: <1410633021-20395-1-git-send-email-patrakov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by alsa0.perex.cz (Postfix) with ESMTP id 506C2262629 for ; Sun, 14 Sep 2014 12:11:24 +0200 (CEST) Received: by mail-lb0-f174.google.com with SMTP id 10so3042476lbg.19 for ; Sun, 14 Sep 2014 03:11:23 -0700 (PDT) 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: Raymond Yau Cc: tiwai@suse.de, alsa-devel@alsa-project.org, clemens@ladisch.de List-Id: alsa-devel@alsa-project.org 14.09.2014 14:53, Raymond Yau wrote: > > > > > Note: this series touches pcm_dmix.c, but does not make it rewindable. In > > other words, a variant of the test in [2] now produces a tone instead of > > failing due to snd_pcm_rewind() returning 0. But it should ideally > produce > > silence. Obviously, there is some bug left that I have not pinpointed > yet. > > > > It is better to let dmix not support rewind and force your rewind > program to fail > > You rewind program should not affect the other application playing > through dmix Sorry, you are not an author of a single line in dmix (although you do understand how it works), so I cannot just blindly follow this request. OTOH, I was about to ask the same "should it work" question. -- Alexander E. Patrakov