Re: Question about snd_pcm_sw_params_get_boundary

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

 



Dolevo wrote:
> Can you also tell me if it is normal to see the same number in the
> threshold?

If you have set the threshold to this number, then it is normal to see
this number.

> snd_pcm_sw_params_set_silence_threshold(handlePlayback, params, boundary);
>
> returns -22 (invalid argument) error with the boundary and threshold values
> that I mentioned before.

The silence threshold must be less than the buffer size; other values
would not make sense.

Why are you trying to set the silence threshold to the boundary value?


Regards,
Clemens

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
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