Daniel Mack wrote:
> [...]
> Please note, however, that you can't do the divison 'uac2->p_residue /
> uac2->p_interval' in a pre-calucated value, as that won't cover cases
> with a per-packet residual value that isn't a multiple of the frame
> size.
Partial frames are not allowed (neither in ALSA
On Thu, Aug 28, 2014 at 3:47 PM, Daniel Mack wrote:
> On 08/28/2014 12:10 PM, Jassi Brar wrote:
>> On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack wrote:
>
>>> It's still superior to a number of unnecessary calculations done every
>>> millisecond which will come up with the same result every time. S
On 08/28/2014 12:17 PM, Daniel Mack wrote:
> Felipe, could you already merge patch 1-5 of the last series (v6)?
1-4, of course. Jassi's changes will only affect patch 5/5.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger
On 08/28/2014 12:10 PM, Jassi Brar wrote:
> On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack wrote:
>> It's still superior to a number of unnecessary calculations done every
>> millisecond which will come up with the same result every time. So I
>> clearly favor that approach. Three more ints in a st
On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack wrote:
> On 08/28/2014 11:33 AM, Jassi Brar wrote:
>> On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack wrote:
>
>>> diff --git a/drivers/usb/gadget/function/f_uac2.c
>>> b/drivers/usb/gadget/function/f_uac2.c
>>> index 246a778..a5a27a5 100644
>>> --- a/d
On 08/28/2014 11:33 AM, Jassi Brar wrote:
> On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack wrote:
>> diff --git a/drivers/usb/gadget/function/f_uac2.c
>> b/drivers/usb/gadget/function/f_uac2.c
>> index 246a778..a5a27a5 100644
>> --- a/drivers/usb/gadget/function/f_uac2.c
>> +++ b/drivers/usb/gadg
On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack wrote:
> The UAC2 function driver currently responds to all packets at all times
> with wMaxPacketSize packets. That results in way too fast audio
> playback as the function driver (which is in fact supposed to define
> the audio stream pace) delivers
The UAC2 function driver currently responds to all packets at all times
with wMaxPacketSize packets. That results in way too fast audio
playback as the function driver (which is in fact supposed to define
the audio stream pace) delivers as fast as it can.
Fix this by sizing each packet correctly w