Re: pcm_meter.c issue at s16_update

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

 



Dne 17. 09. 20 v 21:13 Pavel Hofman napsal(a):
> Hi,
> 
> Dne 15. 09. 20 v 5:40 Go Peppy napsal(a):
>>
>> Just to remind what the issue is - while switching from one web radio
>> station to another there is a high CPU usage for about 20 seconds. Because
>> of that high CPU consumption almost all other processes are blocked.
> 
> 20 seconds is only due to 32bit kernel on RPi. On 64bit machines the 
> boundary value is usually many orders of magnitude larger, basically 
> making the method never finish.

Could you try this patch?

https://github.com/alsa-project/alsa-lib/commit/a6c8ac0c85ca1b16684a687c7000c73aa38b7776

It should prevent the big copies which are definitely nonsense and this change
does not hide the real problem.

					Jaroslav

> 
> With regards,
> 
> Pavel.
> 


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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux