[alsa-devel] Usb audio - unsuported sampling rates

Daniel Mack zonque at gmail.com
Thu Jul 12 09:44:34 CEST 2012


On 10.07.2012 23:33, Daniel Mack wrote:
> Hi Gordon,
> 
> On 10.07.2012 20:57, Gordon Dilan wrote:
>            0
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        2
>>       bAlternateSetting       1
>>       bNumEndpoints           1
>>       bInterfaceClass         1 Audio
>>       bInterfaceSubClass      2 Streaming
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       AudioStreaming Interface Descriptor:
>>         bLength                 7
>>         bDescriptorType        36
>>         bDescriptorSubtype      1 (AS_GENERAL)
>>         bTerminalLink           2
>>         bDelay                  1 frames
>>         wFormatTag              1 PCM
>>       AudioStreaming Interface Descriptor:
>>         bLength                11
>>         bDescriptorType        36
>>         bDescriptorSubtype      2 (FORMAT_TYPE)
>>         bFormatType             1 (FORMAT_TYPE_I)
>>         bNrChannels             4
>>         bSubframeSize           2
>>         bBitResolution         16
>>         bSamFreqType            1 Discrete
>>         tSamFreq[ 0]        16000
> 
> The interface only reports this single sample rate. If the vendor claims
> that there are in fact more, it would be good to know which ones.
> 
> Then we can add a quirk to parse_audio_format_rates_v1() in
> sound/usb/format.c - that shouldn't be too hard.

Something like the patch below could help. Can you try this?


Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: playstation-eye-samplerates.diff
Type: text/x-patch
Size: 622 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120712/2962155c/attachment-0001.diff 


More information about the Alsa-devel mailing list