Comments (11)
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.
Sorry for the delay...I am still trying to get more information. I will get back to you with an answer soon.
from dmf.
from dmf.
from dmf.
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:
- DMF Framework
- All the DMF Modules.
- 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.
from dmf.
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.
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.
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.
from dmf.
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)
- Isn't it better to design DMF on C++ code base? HOT 3
- Unexpected behaviour of ScheduledTask module HOT 7
- [UMDF] DMF_VirtualHidMini fails WriteReport requests on descriptors without Report IDs HOT 2
- Latest code generates following linker errors in my project HOT 17
- Do not use Visual Studio 16.10.0 or 16.10.1 or 16.10.2 with DMF due to link regressions HOT 4
- Debugging assertion in DMF\Dmf\Modules.Library\Dmf_ScheduledTask.c HOT 12
- Unused config param in DMF_VirtualHidKeyboard module HOT 4
- How can I disable WPP for the DMF driver ? HOT 5
- Duplicated lines HOT 2
- This repo is missing important files
- EyeGazeIoctl sample fails ApiValidator HOT 2
- Pdo_DevicePropertyTableWrite adds properties to parent device instead of PDO HOT 32
- Building with Windows 11, version 22H2 WDK (10.0.22621.0) supported? HOT 9
- Trying to use Dmf_IoctlHandler with Control Device Object, supported? HOT 15
- fatal error C1510: Cannot load language resource clui.dll HOT 12
- WDF Verifier (Handle Tracking) trips over FILEOJECT de-reference without using the right tag HOT 2
- Dmf_VirtualHidKeyboard work in User-mode? HOT 1
- Why are lib files added to linker manually? HOT 5
- Why is `EnableLookAside` a `ULONG` and not a `BOOLEAN`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmf.