Re: period_size below 8000 on Intel Edison

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dennis Borgmann wrote:
> period_time has the value "2000" before I use the function
> snd_pcm_hw_params_set_period_time_near(*pcm_handle, hwparams, &period_time, &dir);
> and has the same value of 2000 after I call it.

This implies that the driver claims that 2000 is supported.

> In addition, if I try to use the function snd_pcm_hw_params_set_period_size()
> as an alternative to snd_pcm_hw_params_set_period_time_near(), I get
> the error "main_alsa.c:231 error setting period size (Unknown error -22),
> error-code: -22".

ALSA error codes need snd_strerror().

-22 means that some value is not supported by the hardware.

This looks like a bug in the audio driver.


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux