Re: [PATCH 4.9 026/191] ALSA: usb-audio: Improve frames size computation

2020-06-30 Thread Takashi Iwai
On Tue, 30 Jun 2020 20:33:28 +0200, Greg KH wrote: > > On Tue, Jun 30, 2020 at 12:54:07PM -0400, Sasha Levin wrote: > > On Tue, Jun 30, 2020 at 01:49:50PM +0300, Alexander Tsoy wrote: > > > В Пн, 29/06/2020 в 11:37 -0400, Sasha Levin пишет: > > > > From: Alexander Tsoy > > > > > > > > [ Upstream

Re: [PATCH 4.9 026/191] ALSA: usb-audio: Improve frames size computation

2020-06-30 Thread Greg KH
On Tue, Jun 30, 2020 at 12:54:07PM -0400, Sasha Levin wrote: > On Tue, Jun 30, 2020 at 01:49:50PM +0300, Alexander Tsoy wrote: > > В Пн, 29/06/2020 в 11:37 -0400, Sasha Levin пишет: > > > From: Alexander Tsoy > > > > > > [ Upstream commit f0bd62b64016508938df9babe47f65c2c727d25c ] > > > > > > Fo

Re: [PATCH 4.9 026/191] ALSA: usb-audio: Improve frames size computation

2020-06-30 Thread Sasha Levin
On Tue, Jun 30, 2020 at 01:49:50PM +0300, Alexander Tsoy wrote: В Пн, 29/06/2020 в 11:37 -0400, Sasha Levin пишет: From: Alexander Tsoy [ Upstream commit f0bd62b64016508938df9babe47f65c2c727d25c ] For computation of the the next frame size current value of fs/fps and accumulated fractional pa

Re: [PATCH 4.9 026/191] ALSA: usb-audio: Improve frames size computation

2020-06-30 Thread Alexander Tsoy
В Пн, 29/06/2020 в 11:37 -0400, Sasha Levin пишет: > From: Alexander Tsoy > > [ Upstream commit f0bd62b64016508938df9babe47f65c2c727d25c ] > > For computation of the the next frame size current value of fs/fps > and > accumulated fractional parts of fs/fps are used, where values are > stored > i

[PATCH 4.9 026/191] ALSA: usb-audio: Improve frames size computation

2020-06-29 Thread Sasha Levin
From: Alexander Tsoy [ Upstream commit f0bd62b64016508938df9babe47f65c2c727d25c ] For computation of the the next frame size current value of fs/fps and accumulated fractional parts of fs/fps are used, where values are stored in Q16.16 format. This is quite natural for computing frame size for a