Symptoms

Consider the following scenario:

  • You use an application to play an .mp3 file on a Windows Embedded Compact 7-based device.

  • The .mp3 file is formatted by using MPEG 2.5 Variable Bit Rate (VBR).

  • The application calls the IMediaSeeking::GetDuration method to calculate the playback duration.


In this scenario, you find that theĀ GetDuration method returns an incorrect value for the playback duration.

Cause

This problem occurs because an incorrect sampling rate is selected while the XING header is being parsed. This leads to incorrect calculations of the file playback duration.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update February 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Windows Embedded Compact 7 Updates

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:

  • On the Build menu, click Clean Solution, and then click Build Solution.

  • On the Build menu, click Rebuild Solution.

You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package 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.

Files that are included in this update package

File name

File size

Date

Time

Path

Mpgsplit.lib

913,330

13-Feb-2012

19:31

Public\Directx\Oak\Lib\Armv5\Checked

Mpgsplit.lib

979,724

13-Feb-2012

19:31

Public\Directx\Oak\Lib\Armv5\Debug

Mpgsplit.lib

898,348

13-Feb-2012

19:31

Public\Directx\Oak\Lib\Armv5\Retail

Mpgsplit.lib

913,778

13-Feb-2012

19:32

Public\Directx\Oak\Lib\Armv6\Checked

Mpgsplit.lib

980,236

13-Feb-2012

19:32

Public\Directx\Oak\Lib\Armv6\Debug

Mpgsplit.lib

898,802

13-Feb-2012

19:32

Public\Directx\Oak\Lib\Armv6\Retail

Mpgsplit.lib

911,082

13-Feb-2012

19:33

Public\Directx\Oak\Lib\Armv7\Checked

Mpgsplit.lib

977,026

13-Feb-2012

19:33

Public\Directx\Oak\Lib\Armv7\Debug

Mpgsplit.lib

896,086

13-Feb-2012

19:33

Public\Directx\Oak\Lib\Armv7\Retail

Mpgsplit.lib

874,418

13-Feb-2012

19:34

Public\Directx\Oak\Lib\Mipsii\Checked

Mpgsplit.lib

967,794

13-Feb-2012

19:34

Public\Directx\Oak\Lib\Mipsii\Debug

Mpgsplit.lib

856,150

13-Feb-2012

19:34

Public\Directx\Oak\Lib\Mipsii\Retail

Mpgsplit.lib

874,912

13-Feb-2012

19:35

Public\Directx\Oak\Lib\Mipsii_fp\Checked

Mpgsplit.lib

968,284

13-Feb-2012

19:35

Public\Directx\Oak\Lib\Mipsii_fp\Debug

Mpgsplit.lib

856,634

13-Feb-2012

19:35

Public\Directx\Oak\Lib\Mipsii_fp\Retail

Mpgsplit.lib

842,442

13-Feb-2012

19:36

Public\Directx\Oak\Lib\Sh4\Checked

Mpgsplit.lib

932,718

13-Feb-2012

19:36

Public\Directx\Oak\Lib\Sh4\Debug

Mpgsplit.lib

827,228

13-Feb-2012

19:36

Public\Directx\Oak\Lib\Sh4\Retail

Mpgsplit.lib

840,292

13-Feb-2012

19:37

Public\Directx\Oak\Lib\X86\Checked

Mpgsplit.lib

867,842

13-Feb-2012

19:37

Public\Directx\Oak\Lib\X86\Debug

Mpgsplit.lib

821,708

13-Feb-2012

19:37

Public\Directx\Oak\Lib\X86\Retail

References

For more information about the IMediaSeeking::GetDuration method, visit the following Microsoft Developer Network (MSDN) website:

IMediaSeeking::GetDuration (Windows Embedded Compact 7)For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×