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_SoundBuffer::GetFormat() ]     [ next: GetFrequency() ]     [ prev: GetCurrentPosition() ]

    public:

         virtual bool __fastcall GetFormat( WAVEFORMATEX* pFormat, dword pSizeAllocated, dword* pSizeWritten );





    -= Go to the TDx_SoundBuffer description =-    TDX_SOUNDBUFFER::GETFORMAT()   [ component method ]

    • Description

        The TDx_SoundBuffer::GetFormat method will return either the sound data format of the buffer or amount of space needed to retrieve that information.

        If the method call fails, the OnError event may be triggered with the following value:
        DSERR_INVALIDPARAM

    • Parameters

        Format
        The Format parameter references a WAVEFORMATEX structure for holding the sound data format of the buffer.

        Setting this parameter to NULL will cause the required buffer size to be placed in the SizeWritten parameter of this method.

        SizeAllocated
        The SizeAllocated parameter defines the size, in bytes, of the WAVEFORMATEX structure referenced by the Format parameter of this method.

        SizeWritten
        The SizeWritten parameter will reference the amount, in bytes, written into the WAVEFORMATEX structure referenced by the Format parameter of this method.
        This parameter may be set to NULL.


    • 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.