kiffie / usbd-audio Goto Github PK
View Code? Open in Web Editor NEWAudio 1.0 USB class for usb-device
License: MIT License
Audio 1.0 USB class for usb-device
License: MIT License
Hi Stephan. I've been trying out the Audio Class implementation for a while now, and have run into a problem I cant seem to figure out. My devboard only seems to receive every second frame from the host. I have tried with both USB FS and HS boards, but the problem still remains. Every interrupt only occurs once every 2 ms, and the data is only present every 2 ms to. I checked with wireshark on the host, and it says that every frame is transmitted correctly and gets reported as transmitted correctly.
Have you had any similar issue? Thanks in advance.
Hello again Stephen.
I'm trying to figure out if it's possible to implement an asynchronous feedback channel for synchronizing the host and device clocks, but I have a hard time figuring out how creation of new endpoints and descriptors should work. I'm trying to follow the USB audio class specification, but I can't figure out how it should be translated to code. What material did you follow when you wrote the crate? Do you have any experience in this?
Thanks a lot, and sorry if I'm comming of as a bit intensive.
When I try to include the usbd-audio
crate in my Cargo.toml, rust-analyzer starts to use 100% of my CPU and never finds any metadata.
My current rust setup:
$ rustc --version
$ rustc 1.64.0 (a55dd71d5 2022-09-19)
I use the rust-analyzer in the most recent release from the VS Code marketplace: rust-analyzer version: 0.3.1277-standalone
I want to use your library in a somewhat big project, where I already included a dozen crates without a problem. Any clue, on what it might be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.