HDMI2USB-fx2-firmware icon indicating copy to clipboard operation
HDMI2USB-fx2-firmware copied to clipboard

libfx2-migration: audio example

Open jedrzejboczar opened this issue 5 years ago • 4 comments

This is a part of splitting #47 into smaller PRs.

This is an example of USB audio device implementation. It includes descriptors configuration for proper enumeration, and handles set/get interface commands.

The relevant code is located in examples/audio/ and in common/.

jedrzejboczar avatar Jan 08 '20 14:01 jedrzejboczar

{ .generic = (struct usb_desc_generic *) &usb_uac_if_assoc },

https://github.com/timvideos/HDMI2USB-fx2-firmware/blob/0a4652855d897498c72f308098e00fb468cca066/common/uac.h#L22-L27


This comment was generated by todo based on a TODO comment in 0a4652855d897498c72f308098e00fb468cca066 in #51. cc @antmicro.

todo[bot] avatar Jan 08 '20 14:01 todo[bot]

this has been extracted from linux headers, but should be organised better,

https://github.com/timvideos/HDMI2USB-fx2-firmware/blob/0a4652855d897498c72f308098e00fb468cca066/common/uac_defs.h#L8-L13


This comment was generated by todo based on a TODO comment in 0a4652855d897498c72f308098e00fb468cca066 in #51. cc @antmicro.

todo[bot] avatar Jan 08 '20 14:01 todo[bot]

{ .generic = (struct usb_desc_generic *) &usb_uac_if_assoc },

https://github.com/timvideos/HDMI2USB-fx2-firmware/blob/4e54a46f87fdcadbb5fa4bcb13938e7ff7e71759/common/uac.h#L22-L27


This comment was generated by todo based on a TODO comment in 4e54a46f87fdcadbb5fa4bcb13938e7ff7e71759 in #51. cc @antmicro.

todo[bot] avatar Jan 08 '20 15:01 todo[bot]

{ .generic = (struct usb_desc_generic *) &usb_uac_if_assoc },

https://github.com/timvideos/HDMI2USB-fx2-firmware/blob/35d56d8db26cb3c1258eb5b0e1a38520a10931b9/common/uac.h#L22-L27


This comment was generated by todo based on a TODO comment in 35d56d8db26cb3c1258eb5b0e1a38520a10931b9 in #51. cc @antmicro.

todo[bot] avatar Jan 08 '20 15:01 todo[bot]