www.BCB-Tools.com

Home of
RAD DirectX
for
C++ Builder

...

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

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

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    TDx_Sound_Library v1.90 Component Reference

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

    [ TDx_SoundCaptureBuffer::CreateStream() ]     [ next: Destroy() ]     [ prev: Create() ]

    public:

         virtual bool __fastcall CreateStream( AnsiString pFileName, WAVEFORMATEX* pFormat, int pFormatSize );





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

    • Description
    • Parameters

        FileName
        The FileName parameter defines the path and filename of the .wav file to be created.

        Format
        The Format method parameter describes the format of the sound file to be created. This parameter must point to a user-supplied WAVEFORMATEX structure that has been filled with appropriate values.

        You can retrieve the WAVEFORMATEX of the current buffer using the TDx_SoundCaptureBuffer::GetFormat() method.

        You can also pass in a non-WAVE_FORMAT_PCM structure typecast as a WAVEFORMATEX, and supply the byte-size of the non-WAVE_FORMAT_PCM using the FormatSize parameter.

        FormatSize
        The FormatSize parameter must contain the size of the WAVEFORMATEX structure passed into this method via the Format parameter. Generally this will be sizeof(WAVEFORMATEX) but it may differ depending on the definition of the WAVEFORMATEX..


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 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.