Article ID: 957569 - Last Review: January 2, 2009 - Revision: 1.0 FIX: An application that uses the WASAPI may crash when you call the GetBuffer function
On This PageSYMPTOMSConsider the following scenario:
CAUSEBecause of an error in the implementation, the WASAPI may return an invalid pointer. This invalid pointer may cause the application to crash. RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.To resolve this problem, obtain the hotfix from the Microsoft Download Center. Download InformationWindows Vista, 64-bit version (all languages)The following files are available for download from the Microsoft Download Center:Collapse this image ![]() Windows Vista, 32-bit version (all languages)The following files are available for download from the Microsoft Download Center:Collapse this image ![]() For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
PrerequisitesYou must have Windows Vista Service Pack 1 installed to apply this hotfix.Restart requirementYou may have to restart the computer after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace a previously released hotfix.Hotfix file informationThe global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.Windows Vista, 32-bit versionCollapse this table
Windows Vista, 64-bit versionCollapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONThis hotfix prevents the GetBuffer function from returning an invalid buffer. Applications that call the IAudioRenderClient::GetBuffer function or the IAudioCaptureClient::GetBuffer function must check the return value of the ppData pointer. If the returned ppData pointer is NULL, the application must skip the audio render or capture operation, and wait for the next time that the application would usually process audio. For more information about WASAPI, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/en-us/library/ms679162(VS.85).aspx
(http://msdn.microsoft.com/en-us/library/ms679162(VS.85).aspx)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top

