From: Takashi Iwai Subject: Re: Why is ALSA sending STOP/START commands to my driver during MP3 playback? Date: Sat, 08 Sep 2007 01:44:44 +0200 Message-ID: References: <46E169B2.3010509@freescale.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 8CF94103856 for ; Sat, 8 Sep 2007 01:44:44 +0200 (CEST) In-Reply-To: <46E169B2.3010509@freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Timur Tabi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 07 Sep 2007 10:09:38 -0500, Timur Tabi wrote: > > I'm developing an ASoC driver, and when I play an MP3 with mpg123, my driver's > trigger() function is called with the SNDRV_PCM_TRIGGER_STOP command and then > is immediately called again with SNDRV_PCM_TRIGGER_START. > > Can someone tell me why ALSA would do this? I guess OSS-emulation code does this (automatic recovery from XRUN). Takashi