USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_AUDIO_V1_0_STREAM_INFO Structure
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_STREAM_INFO Structure

This is type USB_HOST_AUDIO_V1_0_STREAM_INFO.

C
typedef struct {
  USB_HOST_AUDIO_V1_0_STREAM_OBJ streamObj;
  USB_AUDIO_FORMAT_CODE format;
  USB_HOST_AUDIO_V1_0_STREAM_DIRECTION streamDirection;
  uint8_t nChannels;
  uint8_t subFrameSize;
  uint8_t bitResolution;
  uint8_t nSamplingRates;
  uint32_t tSamFreq[USB_HOST_AUDIO_V1_SAMPLING_FREQUENCIES_NUMBER];
} USB_HOST_AUDIO_V1_0_STREAM_INFO;
Members
Members 
Description 
USB_HOST_AUDIO_V1_0_STREAM_OBJ streamObj; 
Audio Stream Object. Clients need to pass this object when opening this audio stream using USB_HOST_AUDIO_V1_0_StreamOpen function. 
USB_AUDIO_FORMAT_CODE format; 
Audio Format code for this Stream 
USB_HOST_AUDIO_V1_0_STREAM_DIRECTION streamDirection; 
Stream direction 
uint8_t nChannels; 
Number of physical channels in the audio stream 
uint8_t subFrameSize; 
Number of bytes occupied by one audio sub-frame 
uint8_t bitResolution; 
Number of effectively used bits from the available bits in an audio sub-frame 
uint8_t nSamplingRates; 
Indicates how the sampling frequency can be programmed: 0: Continuous sampling frequency 1..255: Number of discrete sampling frequencies supported by Audio stream 
uint32_t tSamFreq[USB_HOST_AUDIO_V1_SAMPLING_FREQUENCIES_NUMBER]; 
Supported sampling Frequencies