From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Looking for help with dmix plug-in on ARM Date: Wed, 07 Mar 2007 23:54:19 +0100 Message-ID: References: <15711510.1170960250793.JavaMail.root@fed1wml07.mgt.cox.net> <45E2EAF8.9050303@cox.net> <45E4A1B2.2070207@cox.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45E4A1B2.2070207@cox.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Daniel Cardenas Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 27 Feb 2007 14:25:06 -0700, Daniel Cardenas wrote: > > Results of my latest debug: dmix is reporting an error in routine snd_pcm_dmix_sync_ptr() complaining that the pipe is > in the running state. Here is a snippet of code: > > if (avail >= pcm->stop_threshold) { > struct timeval tv; > snd_timer_stop(dmix->timer); > gettimeofday(&tv, 0); > dmix->trigger_tstamp.tv_sec = tv.tv_sec; > dmix->trigger_tstamp.tv_nsec = tv.tv_usec * 1000L; > if (dmix->state == SND_PCM_STATE_RUNNING) { > dmix->state = SND_PCM_STATE_XRUN; > printf("%16s:%4i:(%32s): -EPIPE error.\n\n", __FILE__, __LINE__, __FUNCTION__ ); > return -EPIPE; > } > dmix->state = SND_PCM_STATE_SETUP; > /* clear queue to remove pending poll events */ > snd_pcm_direct_clear_timer_queue(dmix); > } > > Any suggestions how to fix this? This is with version 1.0.11. Hm, any chance that you can try the latest version of alsa-driver and alsa-lib? There were many dmix-related bugs and they got fixed in the later versions. I remember some bugs wrt this, too. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV