in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.#1360
Merged
hathach merged 1 commit intohathach:masterfrom Mar 9, 2022
Merged
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.#1360hathach merged 1 commit intohathach:masterfrom
hathach merged 1 commit intohathach:masterfrom
Conversation
I believe that there is a mistake in the definition of TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR. The nitfs in the audio descriptor is always 3 regardless of ITF_NUM_TOTAL.
Owner
|
great work, thank you for your fix |
Contributor
Author
|
You're welcome.... took me a bit to track down when I added a CDC device to my audio device. Thanks for the awesome library and examples! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I believe that there is a mistake in the definition of TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR. The nitfs in the audio descriptor is always 3 regardless of ITF_NUM_TOTAL.
Describe the PR
I change the number of interfaces to 3, so that I could add a CDC descriptor after, and it worked without complaints from Linux.