Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7644409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:40:54+00:00 2026-05-31T09:40:54+00:00

Apparently, Windows made some major changes to the audio architecture in Windows Vista. As

  • 0

Apparently, Windows made some major changes to the audio architecture in Windows Vista.
As I understand it, some "legacy codecs" are not included in Vista and above, but I’m not sure whether this is the cause of the problem.

I am programming in Delphi, and am currently using C:\WINDOWS\System32\winmm.dll from the Windows library and its PlaySound method to play Waveform Audio File Format (WAV) files.
It seems like there are a number of WAV files that winmm.dll cannot play.
Interestingly, Windows Media Player can play the failing sounds, while the Windows Control Panel sound applet cannot. Therefore, I suspect that the failure to play the sounds may be due to a limitation of the library I am using, and is not directly caused by my app.
Still, it causes a bad user experience to have sound files silently fail without any notice to the user that the file is somehow defective and cannot be used.

Is there a different library function I should be using instead to play the WAV sounds with better codec support, which would be able to play these broken files like Windows Media Player can?
If not, is there another function call I could use to test whether a WAV is valid/playable, so I can notify the user that the file’s internal format isn’t supported?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:40:55+00:00Added an answer on May 31, 2026 at 9:40 am

    Window Media Player uses DirectShow which gives you better performance and greater flexibility than PlaySound under MCI. However, it can seem like a lot of effort to play a sound with DirectShow compared to MCI.

    Have a look at the cbAudioPlay component by Carlos Barbosa, as it provides a good example of using DirectShow and contains the associated libs you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some Windows applications add buttons to the control box, which apparently is the name
We've installed Windows Search Server Express on one of our servers, which apparently runs
I've just discovered that regtlib.exe appears to be missing from Windows 7 (and apparently
Apparently there's a lot of variety in opinions out there, ranging from, " Never!
Apparently you can easily obtain a client IP address in WCF 3.5 but not
I made a solution to another of my questions . But, after some recent
I've recently installed Ruby 1.9.1 on Windows 7, and apparently it doesn't come with
Cursors.SizeAll is one of a few Windows cursors that are apparently off-limits for Silverlight.
A student in my chemometrics course installed R on Windows 7. Apparently, R picked
Apparently, Windows eats my errors. Literally. I have this C# .Net 4.0 @ VS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.