Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534014

Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize

From Clemens Ladisch <clemens@ladisch.de>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize
Date 2016-12-01 13:20 +0100
Message-ID <sJyvf-3KW-5@gated-at.bofh.it> (permalink)
References <sJ7Y6-3eC-3@gated-at.bofh.it> <sJ7Y6-3eC-1@gated-at.bofh.it> <sJuhY-PI-25@gated-at.bofh.it> <sJyvf-3KW-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Jiada Wang wrote:
> On 11/30/2016 11:41 PM, Clemens Ladisch wrote:
>> Jiada Wang wrote:
>>> since commit 57e6dae1087bbaa6b33d3dd8a8e90b63888939a3 the expected packetsize is always limited to
>>> nominal + 25%. It was discovered, that some devices
>>
>> Which devices?
>
> It was a LG nexus

So it was the Android audio accessory mode.

>>> have a much higher jitter in used packetsizes than 25%
>>
>> How high?
>
> the nominal packet size was somewhere around 176bytes
> +25% would result in max expected packets to be ~220bytes
> We observed some packets exceeding this size (256byte)

256 bytes per USB frame would correspond to 64 kHz, instead of the
nominal 44.1 kHz.

The audio accessory sample format is fixed, and that mode is no longer
developed, so increasing the limit to +50% would be sufficient to work
around this problem.

I don't know if this is a bug in Google's generic AOA code, or if LG did
some changes; I have not heard any other report so far ...


Regards,
Clemens

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize Jiada Wang <jiada_wang@mentor.com> - 2016-11-30 09:00 +0100
  Re: [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize Takashi Iwai <tiwai@suse.de> - 2016-11-30 10:00 +0100
    Re: [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize Jiada Wang <jiada_wang@mentor.com> - 2016-12-01 08:10 +0100
  Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant  packetsize Clemens Ladisch <clemens@ladisch.de> - 2016-12-01 08:50 +0100
    Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize Takashi Iwai <tiwai@suse.de> - 2016-12-01 10:10 +0100
      Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant  packetsize Clemens Ladisch <clemens@ladisch.de> - 2016-12-01 12:20 +0100
        Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant packetsize Takashi Iwai <tiwai@suse.de> - 2016-12-01 12:30 +0100
          Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant  packetsize Clemens Ladisch <clemens@ladisch.de> - 2016-12-01 13:00 +0100
    Re: [alsa-devel] [PATCH 1/3 v1] ALSA: usb-audio: more tolerant  packetsize Clemens Ladisch <clemens@ladisch.de> - 2016-12-01 13:20 +0100

csiph-web