How to use inbox Dolby Audio Decoder MFT on Windows 7 or Vista?

Dolby Audio Decoder Media Foundation Transform (MFT) is restricted under terms of the Dolby Digital licensing program to use by Microsoft applications for versions of Windows prior to Windows 8. You have to contact Dolby Digital directly for licensing if you want to have this decoder support in your own application. You can also consider…

0

The mysterious WASAPI lock on Windows 7

CaptureExclusiveEventDriven.zip Problem: On Windows 7, if a stream is initialized to be timer driven and in exclusive mode, the WASAPI release of the capture audio client (IAudioCaptureClient) will lock if the release is called when a USB audio device is disconnected.  Workaround: The problem is actually in the audiodg.exe. When someone pull the plug of…

0

How to use mmioDescend and mmioRead APIs with CreateFile API?

You want to use the mmioOpen function in order to obtain a file handle to read a .WAV file.  However, the MSDN documentation indicates that this is a deprecated function.  The suggested replacement API CreateFile does not provide a multimedia file handle, which you need.  Your questions: How to use mmioDescend(), mmioRead() with CreateFile()? or…

0

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. All code samples are provided “AS IS” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

0

Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete?

Question: Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete in my application? In rare cases I even see hundreds of milliseconds (57 millisecond at one time) just for the NdrClientCall2() API call to complete. In my application no server side processing is involved. My client and server both are running on…

0

Why does the TCP three way handshake never tag with DSCP value on Windows XP and Server 2003?

Question: We are trying to introduce QoS into our VOIP services. While working on this we have observed that TCP three way handshake never tag with DSCP value. We have reproduced the issue both in Windows XP and Windows Server 2003 operating systems. My question is why TCP three way handshake never tag with DSCP…

0

Why does regedit.exe (or any other Microsoft program) crash when I try to create a remote thread into it using the CreateRemoteThread API?

Question: On Windows XP, I am starting regedit.exe in suspended mode and forcing it to call the LoadLibrary() API to load an external DLL by using the CreateRemoteThread API. After loading the DLL, when I try to resume the suspended thread, the application terminates. Is this a known issue? Answer: Creating a remote thread into…

0