Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Apr 2005 10:26 PM by  chrisr@logicpd.com
PlaySound && Waveform Audio Interface
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
lancessi@sbcglobal.net
New Member
New Member
Posts:


--
23 Jan 2005 06:47 PM
    Hello,
    I am trying to play a simple wav file using “PlaySound” or using the Waveform Audio Interface without much success. waveOutOpen return MMSYSERR_BADDEVICEID (Device ID out of range) and waveOutGetNumDevs return 0. Did someone successfully use these functions on the LH7A400-10?
    Thanks,
    Lorenzo
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    24 Jan 2005 11:01 AM
    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
    hansr@logicpd.com
    New Member
    New Member
    Posts:


    --
    19 Feb 2005 11:36 PM
    Lorenzo - what version of WinCE are you using?

    Hans
    lancessi@sbcglobal.net
    New Member
    New Member
    Posts:


    --
    20 Feb 2005 10:02 AM
    I am using wince 5.00. I am missing the audio driver which available only for wince 4.2 (lpd_LH7A400_Audio_rel_100). I don’t know when the audio driver will be available for wince 5.00.
    Lorenzo
    hansr@logicpd.com
    New Member
    New Member
    Posts:


    --
    20 Feb 2005 11:08 AM
    Lorenzo,
    we are in testing with the LH7A400-10 WinCE 5.00 Audio Driver. Please let platformsupport@logicpd.com know if you have a product timeline that is dependent upon the driver release.

    Per the discussion above, the WinCE 4.20 Audio Driver should be OK - I'm not sure why you were seeing the issues you were.

    Regards,
    Hans
    lancessi@sbcglobal.net
    New Member
    New Member
    Posts:


    --
    20 Feb 2005 11:23 AM
    I could not try the existing driver; the install file (lpd_LH7A400_Audio_rel_100.msi) requires WinCE 4.2 (the install program needs the platform builder catalog version 4.2). If I could get the audio driver, then I could try it on winCE 5.0. Do you know how to solve this issue?
    Thanks.
    Lorenzo
    hansr@logicpd.com
    New Member
    New Member
    Posts:


    --
    22 Feb 2005 04:27 PM
    Lorenzo,
    I guess my comment "the WinCE 4.20 Audio Driver should be OK" was referring to the issues you initially saw regarding waveOutOpen/PlaySound. I assumed that you had used the driver on WinCE 4.20 and found that your application was not able to use it as expected. My point was that we know those calls work in CE 4.20, so I'm not sure why you were seeing an issue.

    With respect to WinCE 5.00, please let platformsupport@logicpd.com know if you have a product timeline that is dependent upon the driver release. We are targetting a 3/25/2005 release date for the driver.

    Thanks,
    Hans
    chrisr@logicpd.com
    New Member
    New Member
    Posts:


    --
    13 Apr 2005 10:26 PM
    The A40x audio driver for CE 5.0 has been posted
    You are not authorized to post a reply.