locked
Help with tutorial code in Msvad RRS feed

  • Question

  • Hi everyone! in this code tutorial about msvad ,what is ActiveStream? i can't find it
    Thursday, November 26, 2020 3:23 PM

Answers

  • That's a class he created to store pointers to the microphone and speaker streams objects from outside the stream classes.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    • Marked as answer by hungcui Tuesday, December 8, 2020 7:48 AM
    Sunday, November 29, 2020 7:38 AM
  • I just added the inf to the package project - kept as target Windows 8.1 

    With kind regards
    • Marked as answer by hungcui Tuesday, December 8, 2020 7:41 AM
    Monday, December 7, 2020 3:05 PM

All replies

  • That's a class he created to store pointers to the microphone and speaker streams objects from outside the stream classes.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    • Marked as answer by hungcui Tuesday, December 8, 2020 7:48 AM
    Sunday, November 29, 2020 7:38 AM
  • Hello Sir,

    Thanks you for answer. whether they properly and fully deploy such virtual mic. I tried it and got too many errors when I followed the instructions. Thanks you.


    • Edited by hungcui Sunday, November 29, 2020 3:41 PM
    Sunday, November 29, 2020 3:41 PM
  • I can't tell what you mean.  The MSVAD sample was released with an older version of the compiler; you might need to make a few changes to get it to compile with VS2019 and the latest WDK.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Thursday, December 3, 2020 7:41 AM
  • Dear Sir,

    I builed Msvad and install it. But i have a error code 48 "The driver for this device has been blocked from starting because it is known to have problems with Windows. Contact the hardware vendor for a new driver. (Code 48)".I built with vs2019, configuration is win8.1 debug, target os version is win10 or higher, file inf is here,i created catalog file with tutorial,I turned on testsigning. Please help me. Thanks you so much.

    Saturday, December 5, 2020 3:06 PM
  • You may get 48, when targeting the wrong architecture.
    E.g. 'Win32' instead of 'x64' for a Windows 10 64-Bit system.

    For a 64-Bit system should look like:



    With kind regards

    Sunday, December 6, 2020 5:19 PM
  • I can't deal with it this way. when i use win32 for sysvad it is ok. Is configuration is win8.1 debug problem? Thanks you.

    • Edited by hungcui Monday, December 7, 2020 5:24 AM
    Monday, December 7, 2020 5:24 AM
  • Don't know, if there is some misunderstanding. Are you talking about
    https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/master/Official%20Windows%20Driver%20Kit%20Sample/Windows%20Driver%20Kit%20(WDK)%208.1%20Samples/%5BC%2B%2B%5D-windows-driver-kit-81-cpp/WDK%208.1%20C%2B%2B%20Samples/Microsoft%20Virtual%20Audio%20Device%20Driver%20Sample/C%2B%2B/micarray
    Looks for me like there is no problem with "Win8.1 Debug" configuration "x64" Platform  on a
    x64 Windows Server Version 1809 (OS Build 17763.1518)


    Are you sure, you use x64 binary for x64 Windows 10?
    c:\...\Microsoft Virtual Audio Device Driver Sample\C++\x64\Win8.1Debug\package\vadarray.sys
    respective 
    respective x86 binary for x86 Windows 10?
    C:\TEMP\Microsoft Virtual Audio Device Driver Sample\C++\Win8.1Debug\package\vadarray.sys

    With kind regards  
    Monday, December 7, 2020 11:00 AM
  • Dear,Sir
    Can you show me how you have modified it. For me, after downloading I set "Configuration manager" to win8.1 Debug and x64 Platform, in "driver setting" I adjusted target os is windows 10 or high. After build I didn't get msvad.cat file, I created it as here, inf2cat file is taken in "C: \ Program Files (x86) \ Windows Kits \ 10 \ bin \ 10.0.19041.0 \ x86", inf file here, I use devcon to install it as shown in the sysvad installation guide(devcon.exe in C:\Program Files (x86)\Windows Kits\10\Tools\x64).My system is windows 10, os build 19041.630. Is it correct? Thanks you.
    • Edited by hungcui Monday, December 7, 2020 2:57 PM
    Monday, December 7, 2020 2:45 PM
  • I just added the inf to the package project - kept as target Windows 8.1 

    With kind regards
    • Marked as answer by hungcui Tuesday, December 8, 2020 7:41 AM
    Monday, December 7, 2020 3:05 PM
  • It's work, Thanks you so much <3

    Tuesday, December 8, 2020 7:41 AM