I am trying to create an example with both a Mic and a speaker, using tje LPC open (1.03) USB lib. Using the support for the built in USB drivers. I have succeeded in geting microphone axample to work, and the speaker example works. But i am now trying to merge them into a combined device. The enumeration fails when I try to connect to a PC.
I am unsure if I just do something wrong with the descripotrs, or if there is something more "devious" with the code. I am unsure about how to handle the structure: USB class info. In the mic example it cintains the In endpoint number, in the speaker example it contains the out endpoint number (same?) and by looking at the initi code where the structure is referenced, it seems not to be possible to finn in both endpoint variables.
Hope someone has an example to share.