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::GetSpeakerConfig() ]     [ next: Internal_DSEnumerateCallback() ]     [ prev: GetCaps() ]

    public:

         virtual bool __fastcall GetSpeakerConfig( dword* pSpeakerConfig );





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

    • Description

        The TDx_Sound::GetSpeakerConfig method will return the current speaker configuration settings.

        As the result may be a packed DWORD when DSSPEAKER_STEREO is returned, use the following predefined macros to extract the correct configuration and geometry.

        DSSPEAKER_CONFIG(SpeakerConfig)
        DSSPEAKER_GEOMETRY(SpeakerConfig)

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

    • Parameters

        SpeakerConfig
        The SpeakerConfig parameter will reference flags defining the current speaker configuration settings if this method returns successfully.
        The described effect applies when the flag is set.

          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.