Re: period_size below 8000 on Intel Edison

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

 



Dennis Borgmann wrote:
> A short while ago, I came across a new platform - the Intel Edison. I
> would like to port my software to that hardware, which essentially works
> out fine, as it also is a x86 platform. The only problem I see is ,that
> I have not yet been able to configure ALSA to shrink its period size
> down to 2ms on Intel Edison. I get the following output from
> snd_pcm_dump(*pcm_handle,NULL);
>
> Hardware PCM card 1 'dummy-audio' device 0 subdevice 0

Is that device really called "dummy"?

> As you can see, the period_size is 384 and the period_time is 8000. Its
> values should be 96 (period_size) and 2000 (period_time). I am setting
> these values in my C-program with these commands:
>
> err = snd_pcm_hw_params_set_period_time_near(*pcm_handle, hwparams,
> &period_time, &dir);
>
> period_time has the value 2000.

What value does it have after this function returns?

Did you call snd_pcm_hw_params?


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