BB FlashBack SDK: FBEditor

InsertSound

Description

Inserts into the current frame of the movie a sound with properties defined by the supplied FBSoundProperties object.

This method is accessible to the Pro and Advanced editions of the SDK only.
 

Syntax

[C#/C++]
public Bool InsertSound (FBSoundProperties* pSoundProperties)

[VB.NET]
Public Function InsertSound (ByRef pSoundProperties() As FBSoundProperties) As Boolean

Parameters

pSoundProperties : [In] Pointer to an FBSoundProperties object
 

Return Values

If the function fails, the return value is nonzero.

If the function succeeds, the return value is zero. The ID property of the FBSoundProperties object passed in will be set to the ID of the newly created sound.
 

Remarks

To insert sounds of an unsupported format:
The BB FlashBack SDK supports WAV, PCM and MP3 sound formats. If you want to insert sounds of an unsupported format, you should:

  1. Be able to play back sound files of that format. i.e. the appropriate DirectShow filter or ACM codec should be installed on your PC.

  2. Use Regsvr32.exe to register the filter bbmemdmpflt.ax, included in the SDK installation folder.

You should then be able to insert sounds in unsupported formats via FBEditor::InsertSound.

 

See Also

The FBSoundProperties Class