Coder Social home page Coder Social logo

Comments (3)

AidenHu avatar AidenHu commented on June 2, 2024

The workaround is to fix the issue that Windows OS (like Windows 10) does not comply with the USB Audio 2.0 spec. Although we still not get the official confirm about this finding from MSFT, but we provide a solution related to the macro USB_DEVICE_WORKAROUND_AUDIO_20_WINDOWS. This macro is disabled by default. User need to enable this macro manually if the environment meet the 3 conditions:
1. device is full speed running audio 2.0
2. usb host is Windows OS that supports USB audio 2.0, like Win 10
3. use feedback endpoint

We can make sure that our case can work on the OS that totally comply with USB audio spec no matter audio 1.0 or audio 2.0, but we can not meet not meet the requirement for cross-platform working based on the wrong behavior of Windows OS itself, sorry about this.

from mcux-sdk-examples.

raveslave avatar raveslave commented on June 2, 2024

thanks for reply, we're aware of audio-class is broken on windows resulting in most sound-card vendors choose to provide their own drivers as a workaround... wish we could have Microsoft jump in an resolve this once and for all including driverless multi-channel support.

so it is possible to run stereo in & out on both macOS and Windows10/11 driverless as long as we make use of the high-speed phy, correct!?

I will have to try again on the LPC55 ev-kit as I'm not sure if I tested using the FS or HS phy

  • what would be the most recent / mature example project that we can test?
  • is there an example that uses HS that also supports hubs?
  • do you happen to have a test-protocol of what platforms and OS'es this implementation has been verified against?

from mcux-sdk-examples.

AidenHu avatar AidenHu commented on June 2, 2024

Yes, if you use USB HS then you can ignore this issue on Windows 10/11.
For your last 3 questions:

  1. You can use the recently released 2.15.0 SDK from https://mcuxpresso.nxp.com
  2. If you use LPCxpresso55s69 and LPCxpresso55s16, you can use the HS port except for the FS port. About hub, I am not sure what your purpose is, so sorry that I can not give more comments.
  3. Previously I tested the usb_hid_audio_unified case on Linux/Mac OS/Windows, actually the aim is not only for the test-protocol.

from mcux-sdk-examples.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.