Re: threshold not applied

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

 



On Wed, 3 Jun 2009, Dennis Borgmann wrote:

> Hello list-users!
>
> I am trying to set a software-parameter with this command:
>
> snd_pcm_sw_params_set_start_threshold
>
> This is working fine with a machine, that I got standing in my own flat.
> But as soon as I use it with a PC from a friend, this parameter is not
> applied (I can see this from time measurements while doing snd_pcm_readi).

For capture, start_threshold just starts capture when you request given 
amount of samples. Nothing else, so you may expect to read less samples 
than in start_threshold. You probably want to set avail_min parameter.

 					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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