Thread: Issue with an audio driver

  1. #1
    Registered User
    Join Date
    May 2020
    Posts
    2

    Issue with an audio driver

    I am having an issue regarding an audio driver that is written in C++. The issue is that its not playing any audio (or instead plays a short static noise) in a Windows Server 2003 VM ran using VirtualBox with the type of sound card being emulated set to AC97. The debug logs are available at Untitled - Pastebin and Untitled - Pastebin. I used WinDbg to make them.


    The source code can be found in the archive located at https://u.teknik.io/Rq3cw.zip and the driver (which is Windows Server 2003 compatible) can be found in the archive located at https://u.teknik.io/LSzJD.zip. The license of the source is MIT. There is a forum post at Doubt in sample code for waveRT audio driver in ac97 audio device in win-ddk — OSR that might help with fixing it. The desired behavior I want is that audio (such as the Windows Starup Jingle) should be playing in a Windows 7/Windows Server 2003 VM when using the driver that I linked to.


    To replicate the issue, do the following:
    1. Make a Windows 7 (32-bit) VM using VirtualBox with the audio device set to ICH97.
    2. Run the VM.
    3. Download the driver located at https://u.teknik.io/LSzJD.zip and extract it somewhere while in the VM.
    4. Open Device Manager and update the AC97 sound card with the driver that you extracted somewhere.
    5. Reboot the VM.
    6. Try to play any of the audio files located in C:\Windows\Media.
    Last edited by Zerk3K; 3 Weeks Ago at 04:35 PM.

  2. #2
    Registered User
    Join Date
    May 2020
    Posts
    2
    Here's what one developer told me after I used a driver containing debug code that he modified and gave him the output: "Good news it can be fixed. I am sure if I'm understanding the documentation correctly. You can allocate a block of nonpaged memory and then format this block of memory as an MDL. This would require someone to produce or alter the code for the MAX_BDL_ENTRIES only as that seems to be where the error is. That's something I can not do, I have never done anything with memory outside of a pointer and address referencing.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 10-12-2018, 03:57 AM
  2. Troubleshooting a driver issue, but I'm not sure where to go...
    By PatrickDickey in forum Linux Programming
    Replies: 3
    Last Post: 10-10-2011, 02:48 PM
  3. hi how to check my serial port is intrupt driver or poll driver?
    By nkrao123@gmail. in forum Networking/Device Communication
    Replies: 5
    Last Post: 09-19-2011, 11:20 PM
  4. Sound Driver Issue
    By HaVoX in forum Tech Board
    Replies: 2
    Last Post: 02-08-2006, 01:38 AM
  5. virtual audio driver
    By hellboi64 in forum Windows Programming
    Replies: 2
    Last Post: 09-10-2004, 05:21 PM

Tags for this Thread