Re: Question about snd_pcm_sw_params_get_boundary

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

 



Dolevo wrote:
> Clemens Ladisch <cladisch <at> googlemail.com> writes:
>> 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?
>
> I have been assigned to a work which has already been developed for quite
> some time. So, I really don't have much idea why it is being tried to set to
> the boundary value.
>
>     snd_pcm_sw_params_set_silence_size(pHandle, params, 0);
>     snd_pcm_sw_params_set_silence_threshold(pHandle, params, boundary);

With silence_size set to zero, setting the threshold does not make sense.
Just drop that call.


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