From: Clemens Ladisch <clemens@ladisch.de>
To: IOhannes m zmoelnig <zmoelnig@iem.at>
Cc: alsa-devel@alsa-project.org
Subject: Re: crash with assertion (?)
Date: Tue, 07 Sep 2010 19:06:05 +0200 [thread overview]
Message-ID: <4C8670FD.5020906@ladisch.de> (raw)
In-Reply-To: <4C8662AD.1040607@iem.at>
IOhannes m zmoelnig wrote:
> i'm requesting my "plughw" device with 44100Hz
> the request is done with something like:
> rate=44100;
> err = snd_pcm_hw_params_set_rate_min(handle, params, &rate, 0);
This requests a sample rate of at least 44100 Hz.
> [...]
> err = snd_pcm_hw_params(handle, params);
>
> what happens:
> in the snd_pcm_hw_params(), my program exits with:
> "interval_inline.h:52: snd_interval_single: Assertion
> `!snd_interval_empty(i)' failed."
You called snd_pcm_hw_params with an invalid params structure.
I'd guess that snd_pcm_hw_params_set_rate_min (or some other
snd_pcm_hw_params_set_*) returned an error.
Regards,
Clemens
next prev parent reply other threads:[~2010-09-07 17:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 16:05 crash with assertion (?) IOhannes m zmoelnig
2010-09-07 16:07 ` IOhannes m zmoelnig
2010-09-07 16:32 ` IOhannes m zmoelnig
2010-09-07 17:06 ` Clemens Ladisch [this message]
2010-09-08 8:41 ` IOhannes m zmoelnig
2010-09-09 1:30 ` Raymond Yau
2010-09-09 9:43 ` IOhannes m zmoelnig
2010-09-10 1:53 ` Raymond Yau
2010-09-10 7:06 ` Clemens Ladisch
2010-09-10 23:20 ` Raymond Yau
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=4C8670FD.5020906@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=zmoelnig@iem.at \
/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.