Git Product home page Git Product logo

Comments (11)

samtertzakian avatar samtertzakian commented on May 22, 2024

Hi @alkovacs,

I am personally not familiar with Soundwire. Let me ask the rest of the team about your query.

You are, of course, welcome to add the support and we are happy to add that support to DMF Library after review.
The Soundwire Module would have GPIO, SPB Child Modules per the information you provided above.

Let me get back to you.

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

Sorry for the delay...I am still trying to get more information. I will get back to you with an answer soon.

from dmf.

alkovacs avatar alkovacs commented on May 22, 2024

from dmf.

alkovacs avatar alkovacs commented on May 22, 2024

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

You should not include files as you are doing...that is not correct. DMF is designed so that you only need to include:

#include <initguid.h>
#include "DmfModules.Library.h"

DmfModules.Library.h automatically includes everything you need:

  1. DMF Framework
  2. All the DMF Modules.
  3. All the WDF and NT dependencies.

If you include as you are doing it will not not work because there are many dependencies as well as the C and C++ compatibility issues that are all solved for you. Once you have included DmfModules.Library.h you can access any Module with ease.

Can you do that? Delete all your #include statements and replace with the above two lines. If you still have an issue, let me know.

Sorry, I just realized you said, "in one Module..." The above instructions are for the Client driver.

For Modules, you should do exactly what every other Module does:

// DMF and this Module's Library specific definitions.
//
#include "DmfModule.h"
#include "DmfModules.Library.h"
#include "DmfModules.Library.Trace.h"

#if defined(DMF_INCLUDE_TMH)
#include "Dmf_....tmh"
#endif

In this case, (for Modules only) you add one extra #include before DmfModules.Library.h: #include "DmfModule.h"

This allows the Module to access APIs that are only accessible by Modules and not Client drivers.

Please reply here or send private email to [email protected] if you still have issues or questions.

from dmf.

alkovacs avatar alkovacs commented on May 22, 2024

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

Hi... Great to hear. I will verify documentation is clear on this point. Probably it is not. It is not the first time this issue has come up.

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

Hi, I have made progress in SoundWire query...but I still need to gather more information. I will update this thread when I have made more progress. I hope that will happen this week.

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

Hi I have not forgotten about you. The person who has the definitive answer seems to be on vacation or otherwise not available right now. I am still trying.

from dmf.

alkovacs avatar alkovacs commented on May 22, 2024

from dmf.

samtertzakian avatar samtertzakian commented on May 22, 2024

I have just been told: Microsoft will support Soundwire (SDCA) as inbox audio driver in the near future. That work is ongoing. It is recommended that you join "SDCA working group meetings" for the latest information. Thus, I don't think it is beneficial for us (DMF Team) to support that in a Module or in DMF directly. Of course, you are welcome to write your own Soundwire related DMF Module(s) if you think that is beneficial to your project.

I will close this issue for now. If you have more questions related to this or any other issue, please create an issue, reply to this thread or send an email to [email protected].

from dmf.

Related Issues (20)

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.