On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack zon...@gmail.com 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
On 08/28/2014 11:33 AM, Jassi Brar wrote:
On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack zon...@gmail.com 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
+++
On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack dan...@zonque.org wrote:
On 08/28/2014 11:33 AM, Jassi Brar wrote:
On Wed, Aug 27, 2014 at 10:39 PM, Daniel Mack zon...@gmail.com wrote:
diff --git a/drivers/usb/gadget/function/f_uac2.c
b/drivers/usb/gadget/function/f_uac2.c
index
On 08/28/2014 12:10 PM, Jassi Brar wrote:
On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack dan...@zonque.org 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
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
On Thu, Aug 28, 2014 at 3:47 PM, Daniel Mack dan...@zonque.org wrote:
On 08/28/2014 12:10 PM, Jassi Brar wrote:
On Thu, Aug 28, 2014 at 3:33 PM, Daniel Mack dan...@zonque.org wrote:
It's still superior to a number of unnecessary calculations done every
millisecond which will come up with the
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 nor in
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