VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Sound_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_Sound::SetSpeakerConfig() ]     [ prev: SetCooperativeLevel() ]

    public:

         virtual bool __fastcall SetSpeakerConfig( dword pSpeakerConfig );





    -= Go to the TDx_Sound description =-    TDX_SOUND::SETSPEAKERCONFIG()   [ component method ]

    • Description

        The TDx_Sound::SetSpeakerConfig method will define the speaker configuration settings.

        If the method call fails, the OnError event will be triggered with one of the following values:
        DSERR_INVALIDPARAM
        DSERR_UNINITIALIZED

    • Parameters

        SpeakerConfig
        The SpeakerConfig parameter defines flags indicating the speaker configuration to be set.
        The described effect applies when the flag is set.

        When defining a geometry value, the following macro must be used to pack this parameter correctly.
        DSSPEAKER_COMBINED(DSSPEAKER_STEREO, DSSPEAKER_GEOMETRY_value)

          DSSPEAKER_5POINT1
          Surround sound speakers are being used with a subwoofer.

          DSSPEAKER_GEOMETRY_MAX
          The stereo speakers are placed such as to have an arc of 180 degrees.

          DSSPEAKER_GEOMETRY_MIN
          The stereo speakers are placed such as to have an arc of 5 degrees.

          DSSPEAKER_GEOMETRY_NARROW
          The stereo speakers are placed such as to have an arc of 10 degrees.

          DSSPEAKER_GEOMETRY_WIDE
          The stereo speakers are placed such as to have an arc of 20 degrees.

          DSSPEAKER_HEADPHONE
          Headphones are being used.

          DSSPEAKER_MONO
          A single speaker is being used.

          DSSPEAKER_QUAD
          Quadraphonic speakers are being used.

          DSSPEAKER_STEREO
          Stereo speakers are being used.
          This is the default value.

          DSSPEAKER_SURROUND
          Surround sound speakers are being used.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.