DirectSound problem over Windows XP
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: DirectSound problem over Windows XP

  1. #1
    Join Date
    May 2010
    Posts
    3

    DirectSound problem over Windows XP

    Hello!
    Posting this thread here, cause DSound is a part of DirectX. Sorry, if I'm wrong.

    I'm developing an audio engine for capturing/playing/mixing sounds in network multimedia chat application.

    And I got problems when using it on Windows XP. Somehow, DirectSound affects WinXP system global volume. It should be due to waveout/dsound conflicts.

    Anyway, everytime when DSound is initialized - the waveout volume is set to zero.
    Initialization of playback device includes:

    DirectSoundCreate8(&AudioDriverGUIDs[playbackID], &pAudio, NULL);
    and
    pAudio->SetCooperativeLevel(parentWnd, DSSCL_PRIORITY);


    How can I fix this annoying issue?

    I'm not sure what information should I provide for you to understand the problem, so do not hesitate to request any information that can be useful.

    Thanks a lot!

    Regards,
    Anton A. Shpakovsky

  2. #2
    Join Date
    May 2010
    Posts
    3

    Unhappy Re: DirectSound problem over Windows XP

    Hello again,

    as far as i understood the problem is that setting PrimaryBuffer volume effects on winXP system volume. How can I make DirectSound Primary Buffer not to change system volume ?

    Please help.

    Regards,
    Anton A. Shpakovsky

  3. #3
    Join Date
    Oct 2005
    Location
    Minnesota, U.S.A.
    Posts
    680

    Re: DirectSound problem over Windows XP

    The system volume is unchanged when you open a DirectX application.

    Please clarify, you want to change the DX output levels without changing the entire system's volume?

    -Erik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center