third_party/virtualbox/src/VBox/Main/src-client/DisplayImpl.cpp
/**
 * Sends belonging audio samples to the video capturing code.
 * Does nothing if capturing is disabled or if audio support for video capturing is disabled.
 *
 * @returns IPRT status code.
 * @param   pvData              Audio data.
 * @param   cbData              Size (in bytes) of audio data.
 * @param   uTimestampMs        Timestamp (in ms) of the audio data.
 */
Sends belonging audio samples to the video capturing code.
Does nothing if capturing is disabled or if audio support for video capturing is disabled.

@returns IPRT status code.
@param   pvData              Audio data.
@param   cbData              Size (in bytes) of audio data.
@param   uTimestampMs        Timestamp (in ms) of the audio data.
Sends belonging audio samples to the video capturing code . Does nothing if capturing is disabled or if audio support for video capturing is disabled . @returns IPRT status code . @param pvData Audio data . @param cbData Size ( in bytes ) of audio data . @param uTimestampMs Timestamp ( in ms ) of the audio data .
int Display::i_videoRecSendAudio(const void *pvData, size_t cbData, uint64_t uTimestampMs)
{
    if (   VideoRecIsStarted(mpVideoRecCtx)
        && VideoRecGetFeatures(&mVideoRecCfg) & VIDEORECFEATURE_AUDIO)
    {
        return VideoRecSendAudioFrame(mpVideoRecCtx, pvData, cbData, uTimestampMs);
    }
    return VINF_SUCCESS;
}
int Display :: i_videoRecSendAudio ( const void * pvData , size_t cbData , uint64_t uTimestampMs ) { if ( VideoRecIsStarted ( mpVideoRecCtx ) && VideoRecGetFeatures ( & mVideoRecCfg ) & VIDEORECFEATURE_AUDIO ) { return VideoRecSendAudioFrame ( mpVideoRecCtx , pvData , cbData , uTimestampMs ) ; } return VINF_SUCCESS ; }
Sends belonging audio samples to the video capturing code.
Sends belonging audio samples to the video capturing code .