ImageGear for C and C++ on Windows v19.4 - Updated
IG_mult_has_audio
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Multimedia Functions > IG_mult_has_audio

This function fills a Boolean variable indicating whether or not a multimedia instance has audio data available.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_mult_has_audio(
        HIGMULT hMult, 
        LPAT_BOOL lpbHasAudio
);

Arguments:

Name Type Description
hMult HIGMULT Multimedia instance handle.
lpbHasAudio AT_BOOL Pointer to Boolean set to TRUE if multimedia instance has audio.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Media Player

Example:

 
Copy Code
AT_ERRCOUNT nErrcount;  /* Number of errors on stack */
HIGMULT hMult;          /* Multimedia instance handle */
AT_BOOL bHasAudio;      /* Is audio data available? */
nErrcount = IG_mult_has_audio(hMult, &bHasAudio);