-
Notifications
You must be signed in to change notification settings - Fork 1.4k
WiP : MIDI Host #1122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
WiP : MIDI Host #1122
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0da47c8
** add build folder to .gitignore
csBlueChip 6113bca
** Fix audio_desc_cs_ac_interface_t in class/audio/audio.h
csBlueChip 2bab3eb
** Fix MIDI message enums in class/midi/midi.h
csBlueChip 53ca21c
** Add "unused" fields to tusb_desc_endpoint_t - more cleanly documen…
csBlueChip 8fe626c
** MIDI requires the inclusion of class/audio/audio.h
csBlueChip 294094a
MIDI Engine code ...WiP - need a MIDI Host class (driver) before we c…
csBlueChip fccbccf
Add MIDI host example - development test harness
csBlueChip 62b1529
Add MIDI class code - WiP
csBlueChip f79968c
Placeholder code for driver patch to fix known-broken MIDI hardware
csBlueChip beee21e
A liberal sprinkling of temporary printf()s and hexDump()s
csBlueChip 2cc8009
fix example name in Makefile
csBlueChip a3589e7
** fix/hack to get TUSB working on rp2040 in debug mode (CFG_TUSB_DEB…
csBlueChip 6d958dd
increase debug level - highlights problem in the rp2040 portable code…
csBlueChip efe6fa8
** add api call to expose device strings {iManuf, iProd, iSerial}
csBlueChip d2d5f1b
failed attempt to retrieve the product string
csBlueChip 94fab4f
fix makeshift Makefile
csBlueChip cfdc811
Merge branch 'hathach:master' into master
csBlueChip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,4 @@ cov-int | |
| # cppcheck build directories | ||
| *-build-dir | ||
| /_bin/ | ||
| b/ | ||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes definition from Audio 2 specification section 4.7.2 to version 1.0 section 4.3.2 with limitation to 1 interface.
Maybe better way to handle this is to have 1.0 version separated and not change just one structure to different specification version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Yes. I didn't realise that was the root of the problem!
I would suggest the v1 be called
audio_desc_cs_ac_interface_tand v2audio_desc_cs_ac_interface_v2_t...but I guess that might be seen as an undesirable breaking-change :/Do you have any ideas for the best/right way to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert the change, audio v1 is only used by MIDI, all other class moves to audio v2. MIDI driver could handle this locally within its driver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood. Thanks.