greatscottgadgets / python-usb-protocol

python library providing utilities, data structures, constants, parsers, and tools for working with USB data
BSD 3-Clause "New" or "Revised" License
55 stars 32 forks source link

Rework USB Audio Class stuff #20

Closed twam closed 3 years ago

twam commented 3 years ago

Replaces #18 and #19.

I was able to implement an UAC2 audio device with input and output with these changes.

twam commented 3 years ago

Thanks for the work you put into it. I tried to factor out the commonalities in my first attempt but I agree that it is so much tidier this way. Great work!

Thanks for the appreciation. Some of the differences are really subtle, so I thought this way it is much clearer to focus on the actual spec. version you're using.

twam commented 3 years ago

Fixed the typo found by @hansfbaier and another typo in the commit message. Removed an accidentally committed file. :)

ktemkin commented 3 years ago

Thanks a ton! ^_^