All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: gkajmowi@tbaytel.net
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Assertion `!snd_interval_empty(i)' failed
Date: Wed, 16 Jul 2003 12:34:48 +0200	[thread overview]
Message-ID: <s5hd6ga220n.wl@alsa2.suse.de> (raw)
In-Reply-To: <200307111618.14449.gkajmowi@tbaytel.net>

At Fri, 11 Jul 2003 16:18:14 -0400,
Garrett Kajmowicz wrote:
> 
> I am working on software designed for VOIP, but it dynamically changes sample 
> rates and so forth on the fly.  So prior to doing a  snd_pcm_readi, I check 
> to see if I need to change any parameters.  If so I used the existing 
> hw_params object and apply the required changes to sample rate, data type, 
> etc.
> 
> I then call pcm_drop to close the pcm device, followed by 
> snd_pcm_hw_params(pcm_handle, hwparams) which should properly apply the 
> configuration.  Instead I get:
> 
> interval.c:108: snd_interval_refine_min: Assertion `!snd_interval_empty(i)' 
> failed.
> Aborted
> 
> How do I go about fixing this problem?

that means a parameter (perhaps sample rate?) has no valid value in
the configuration space.
you should check whether the sample rate you pass is supported by the
hardware, or try to use *_near() function to set the nearest
parameter.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

      reply	other threads:[~2003-07-16 10:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-11 20:18 Assertion `!snd_interval_empty(i)' failed Garrett Kajmowicz
2003-07-16 10:34 ` 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=s5hd6ga220n.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=gkajmowi@tbaytel.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.