Re: USB: UAC2: Custom bInterval values

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

 



Dne 24. 12. 19 v 4:16 Peter Chen napsal(a):
> On Sat, Dec 21, 2019 at 4:35 PM Pavel Hofman <pavel.hofman@xxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> I would like to add support for custom EP IN and EP OUT bInterval values
>> in f_uac2.c, to allow fine-tuning the gadget for higher samplerates.
>>
>> For now the easiest way to me seems to add the params to uac2_opts and
>> add module params to  g_audio module (to the existing params p_chmask,
>> p_srate, etc.). Please will such change be accepted to upstream?
>>
> 
> I think you could add this support for uac2_opts first, the configfs
> is the suggested
> way to support gadget now.

My long-term plan is adding proper support for standard selection of
required audio stream params (samplerate, channel count, sample
bitwidth) by UAC2 client, offered from a list configured for the
g_audio/uac2 modules. This configuration should be via configfs then. In
the meantime I would really want to just add the bInterval to the
existing params. Since they are closely related and dependent, they
should all be configured in the same way, IMO.

Thanks,

Pavel.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux