Re: Looking for help with dmix plug-in on ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux