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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to