VideoSound::PCMStream::GetDataSInt16

VideoSound::PCMStream::GetDataSInt16
virtual UInt32 GetDataSInt16(UInt32 nch, SInt16 * pcmbuf[], UInt32 samplesRequested) = 0;
Description

GetDataSInt16 obtains sound data from the video file in SInt16 format. This function should only be called if VideoSound::GetPCMFormat returns PCM_SInt16.

Parameters
Parameters 
Description 
UInt32 nch 
Number of channels for the PCM data. 
SInt16 * pcmbuf[] 
Buffer for storing the chunks of sound data. 
req_nsmpl 
Number of samples. 
Return Value

Sound data in SInt16 format.