7 Sep
2010
7 Sep
'10
7:06 p.m.
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