All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Daniel Cardenas <Daniel.Car@cox.net>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Looking for help with dmix plug-in on ARM
Date: Wed, 07 Mar 2007 23:54:19 +0100	[thread overview]
Message-ID: <s5hbqj4br6s.wl%tiwai@suse.de> (raw)
In-Reply-To: <45E4A1B2.2070207@cox.net>

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

      parent reply	other threads:[~2007-03-07 22:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08 18:44 Looking for help with dmix plug-in on ARM daniel.car
2007-02-09 12:06 ` Takashi Iwai
2007-02-26 14:13   ` Daniel Cardenas
2007-02-27 21:25     ` Daniel Cardenas
2007-03-03  3:54       ` Daniel Cardenas
2007-03-07 22:54       ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hbqj4br6s.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Daniel.Car@cox.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.