Lorenzo,
We have succesfully used these APIs to verify that the Audio Driver works and is fully compliant with the requirements put forth by Microsoft. The driver has passed all of the supported tests within the CETK, thus I am inclined to believe that you might be doing something wrong. I'm not saying that it
has to be an error on your end, rather that it is most likely you are either missing a component or trying to do something that can't be done.
Here are some things you should check:
- Did you include sound support in the CE kernel you built?
- Did you include the proper audio driver for the BSP? This driver should be named something like: lpd_LH7A40x_Audio_rel_xxx.
- Have you ensured that you are trying to play a valid wave file? That is to say:
* Is the file in standard ".wav" format (PCM) and not something like MP3?
* Is the bitrate of the file supported by the driver?
* What is the error code returned by the API?
Perhaps you could post a snippet of the code you are using. I'd be happy to glance through it and see if I see something obvious.
Best regards,
--mikee