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 26 May 2004 10:31 AM by  Andreas
Getting DirectSound to work
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Andreas
New Member
New Member
Posts:


--
13 May 2004 12:06 PM
    Hi all,
    Has anyone had any luck getting DirectSound to work? I am using the dsound.lib from \PUBLIC\DIRECTX\OAK\LIB\ARMV4\DEBUG and get compile errors like:
    error LNK2001: unresolved external symbol IID_IUnknown

    Do I need a special dsound.lib or something?

    thanks,

    Andreas
    Andreas
    New Member
    New Member
    Posts:


    --
    20 May 2004 05:20 PM
    Turns out it'll compile fine if <atlbase.h> is included.

    On the topic of audio, when I am playing a wav file from winCE, the audio quality is very poor (lots of noise, low volume, pops) but clear enough that I can make out what wav file it is.

    Has anyone of you seen the same problem and found a fix for it?

    Thankyou muchly,

    Andreas
    Andreas
    New Member
    New Member
    Posts:


    --
    26 May 2004 10:31 AM
    And for the third installment in my monologue on headless WinCE audio:

    The poor audio quality on wav file playback was fixed by a number of registry changes. Go into the .reg files for your OS image and change:

    "SampleRate"=dword:AC44
    to
    "SampleRate"=dword:2B11

    and

    "Volume"=dword:99999999 ; 0=off, 0xFFFFFFFF=maximum
    to
    "Volume"=dword:FFFFFFFF ; 0=off, 0xFFFFFFFF=maximum

    now do a 'Make Image' from platform builder and you should be all set. If there's a more elegant way of doing this, please let us know.

    thanks,

    Andreas
    You are not authorized to post a reply.