最終更新:2022-06-03 (金) 15:31:41 (694d)  

タイプIフォーマットタイプディスクリプタ
Top / タイプIフォーマットタイプディスクリプタ

OffsetFieldSizeValueDescription
0bLength?1NumberSize of this descriptor, in bytes: 8+(ns*3)
1bDescriptorType1ConstantCS_INTERFACE descriptor type.
2bDescriptorSubtype1ConstantFORMAT_TYPE descriptor subtype.
3bFormatType?1ConstantFORMAT_TYPE_I. Constant identifying the Format Type the AudioStreaming? interface is using.
4bNrChannels?1NumberIndicates the number of physical channels in the audio data stream.
5bSubframeSize?1NumberThe number of bytes occupied by one audio subframe. Can be 1, 2, 3 or 4.
6bBitResolution?1NumberThe number of effectively used bits from the available bits in an audio subframe.
7bSamFreqType?1NumberIndicates how the sampling frequency can be programmed:
0: Continuous sampling frequency
1..255: The number of discrete sampling frequencies supported by the isochronous data endpoint of the AudioStreaming? interface (ns)
8...See sampling frequency tables, below.

Continuous Sampling Frequency

  • OffsetFieldSizeValueDescription
    8tLowerSamFreq?3NumberLower bound in Hz of the sampling frequency range for this isochronous data endpoint.
    11tUpperSamFreq?3NumberUpper bound in Hz of the sampling frequency

Discrete Number of Sampling Frequencies

  • OffsetFieldSizeValueDescription
    8tSamFreq [1]3NumberSampling frequency 1 in Hz for this isochronous data endpoint.
    8+(ns-1)*3tSamFreq [ns]3NumberSampling frequency ns in Hz for this isochronous data endpoint.