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

    public:

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





    -= Go to the TDx_SoundCaptureBuffer description =-    TDX_SOUNDCAPTUREBUFFER::GETFORMAT()   [ component method ]

    • Description

        The TDx_SoundCaptureBuffer::GetFormat method will return the sound format currently set for the capture buffer.

        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 capture buffer if this method returns successfully.

        Setting this parameter to NULL will cause the buffer size needed to be retrieved and 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.
        If the structure exceeds this value it will be truncated.

        SizeWritten
        The SizeWritten parameter will reference the amount, in bytes, that was written into the WAVEFORMATEX structure referenced by the Format parameter if this method returns successfully.

        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.