FIX: Audio playback includes unwanted noises for a multimedia application (839562)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows XP SP1

Notice


Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

After you create a multimedia application that makes frequent calls to the mixerSetControlDetails() function, you may notice that the resultant audio stream includes unwanted noises. For example, you may hear short popping or clicking noises.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   24-Mar-2004  22:10  5.1.2600.1366   1,897,472  Ntkrnlmp.exe     
   24-Mar-2004  22:11  5.1.2600.1366   1,953,280  Ntkrnlpa.exe     
   24-Mar-2004  22:11  5.1.2600.1366   1,925,632  Ntkrpamp.exe     
   25-Mar-2004  00:54  5.1.2600.1366   2,049,408  Ntoskrnl.exe   

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft Windows XP Service Pack 2.

MORE INFORMATION

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

After you install the update, you can change the frequency of the registry flush. To do this, follow these steps:
  1. Start Registry Editor.
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager

  3. On the Edit menu, click Add Key, and then add the following registry value:

    Key Name: Configuration Manager

  4. Click the Configuration Manager key.
  5. On the Edit menu, click Add Value, and then add the following registry value:

    Value name: RegistryLazyFlushInterval
    Data type: REG_DWORD
    Radix: Decimal
    Value data: Time in seconds of the frequency that you want the registry flush to occur. The default value is 5.

  6. Quit Registry Editor.

Modification Type:MinorLast Reviewed:6/2/2006
Keywords:kbWinXPsp2fix kbWinXPpreSP2fix kbBug kbfix kbQFE kbHotfixServer KB839562 kbAudDeveloper